返回列表 发帖
查看: 473|回复: 0

[求助] X3.5把本地附件转换成远程附件后 部分txt类型的附件无法下载

6

主题

28

回帖

44

积分

初学乍练

贡献
0 点
金币
5 个
发表于 2023-3-3 16:03:23 | 显示全部楼层 |阅读模式
使用以下sql操作把本地附件,转成了远程附件,并把附件放到了其他服务器。一部分txt类型的附件(大部分txt附件也可以正常下载)无法下载,谷歌浏览器提示 无法下载-网络错误 。其他格式的附件都没问题。检查了不能下载的附件文件读写权限没问题。

update pre_forum_attachment_0 set remote=1 where remote=0;
update pre_forum_attachment_1 set remote=1 where remote=0;
update pre_forum_attachment_2 set remote=1 where remote=0;
update pre_forum_attachment_3 set remote=1 where remote=0;
update pre_forum_attachment_4 set remote=1 where remote=0;
update pre_forum_attachment_5 set remote=1 where remote=0;
update pre_forum_attachment_6 set remote=1 where remote=0;
update pre_forum_attachment_7 set remote=1 where remote=0;
update pre_forum_attachment_8 set remote=1 where remote=0;
update pre_forum_attachment_9 set remote=1 where remote=0;


我知道答案 回答被采纳将会获得1 贡献 已有0人回答
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 关注公众号
  • 有偿服务微信
  • 有偿服务QQ

手机版|小黑屋|Discuz! 官方交流社区 ( 皖ICP备16010102号 |皖公网安备34010302002376号 )|网站地图|star

GMT+8, 2024-5-18 23:13 , Processed in 0.035870 second(s), 7 queries , Redis On.

Powered by Discuz! W1.0 Licensed

Cpoyright © 2001-2024 Discuz! Team.

关灯 在本版发帖
有偿服务QQ
有偿服务微信
返回顶部
快速回复 返回顶部 返回列表