返回列表 发布新帖

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

72 2
发表于 2025-6-16 20:24:03 | 查看全部 阅读模式
使用以下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 贡献 已有2人回答

评论2

淤芯咬Lv.3 发表于 2025-6-16 20:24:48 | 查看全部
没解决,我帮你顶上去
回复

使用道具 举报

搭仑扯Lv.1 发表于 2025-6-16 20:25:16 | 查看全部
按这个描述 只能具体检查一下代码看看了
回复

使用道具 举报

回复

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

本版积分规则

投诉/建议联系

5857225@qq.com

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Powered by Discuz! X5.0 Licensed 2022-2025 吾7分享 版权所有 All Rights Reserved. |网站地图|湘公网安备43112302000109号 ICP备案:湘ICP备19002042号-3
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表