go-cqhttp icon indicating copy to clipboard operation
go-cqhttp copied to clipboard

[Bug]: 无法上传文件

Open XingShuyu opened this issue 2 years ago • 2 comments

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • [X] 我已经仔细阅读上述教程和 "提问前需知"
  • [X] 我已经使用 dev分支版本 测试过,问题依旧存在。
  • [X] 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • [x] 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)

go-cqhttp 版本

v1.1.0

运行环境

Windows (64)

运行架构

AMD64

连接方式

WebSocket (正向)

使用协议

1 | Android Phone

重现步骤

使用WebSocket发送包 { "action": "upload_group_file", "params": { "group_id": "QQGroup", "file": "..\NoBindList.txt", "name": "NoBindList.txt" } } 会出现 上传群 123456789 文件 .. 失败: server requires unsupported ftn upload

期望的结果是什么?

正常上传文件

实际的结果是什么?

上传群 123456789文件 .. 失败: server requires unsupported ftn upload

简单的复现代码/链接(可选)

string abcd = "{\"action\": \"upload_group_file\",\"params\": {\"group_id\": \"" + GROUPID + "\",\"file\": \"..\\NoBindList.txt\",\"name\": \"NoBindList.txt\"}}";
		endpoint.send(0, abcd);

日志记录(可选)

[2023-07-06 03:43:55] [WARNING]: 上传群 713091224 文件 .. 失败: server requires unsupported ftn upload

补充说明(可选)

No response

XingShuyu avatar Jul 05 '23 19:07 XingShuyu

要群主或管理员才可以上传文件吧

fangxin810425 avatar Jul 21 '23 06:07 fangxin810425

是群主啊

XingShuyu avatar Aug 08 '23 15:08 XingShuyu