8000 文件下载保存只能下载64K内容,文件下载不完整 · Issue #2778 · wechaty/wechaty · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

文件下载保存只能下载64K内容,文件下载不完整 #2778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kill8505 opened this issue Feb 14, 2025 · 1 comment
Open

文件下载保存只能下载64K内容,文件下载不完整 #2778

kill8505 opened this issue Feb 14, 2025 · 1 comment

Comments

@kill8505
Copy link

const file = await msg.toFileBox();file.toFile('files/');只能下载到前64K内容,下载的64K文件与原文件的前64K二进制内容一致,这个应该是msg.toFileBox()处理出了问题,希望能尽快处理这个问题

Copy link
dosubot bot commented Feb 14, 2025

@kill8505 Hello there! 👋 I'm here to assist you with bugs, questions, or becoming a contributor. If you need any help, feel free to reach out.

The issue you're experiencing with msg.toFileBox() only downloading the first 64KB of a file might be related to the Puppet Implementation, as the toFileBox() method relies on the messageFile function provided by the puppet to retrieve the file associated with the message ID [1].

To troubleshoot this, you might want to check if there are any limitations or configurations in your specific Puppet Implementation that could be affecting the file size or completeness. Unfortunately, I couldn't find specific documentation on file size limitations or configurations in Wechaty that might be causing this issue.

If possible, reviewing the Puppet Implementation's documentation or source code might provide more insights into any existing constraints or bugs.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0