flutter_server_box icon indicating copy to clipboard operation
flutter_server_box copied to clipboard

使用SFTP下载文件只会下载大约16kb

Open mumuxiao722 opened this issue 1 year ago • 10 comments

使用SFTP下载文件会如下图所示那样卡住,计算1400x1.15%,138x11.59%,671x2.38%结果都约等于16kb,我尝试授予文件访问权限但是并未在相关设置项中找到ServerBox

Image

mumuxiao722 avatar Jul 16 '25 11:07 mumuxiao722

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Use SFTP to download files will only download about 16kb

Issues-translate-bot avatar Jul 16 '25 11:07 Issues-translate-bot

https://github.com/user-attachments/assets/4e3264b0-06ee-4f1f-9218-bfc3b5471024

无法复现,等待更多反馈

相关优化 ec4bf3df240828fc3468b92ef72ca4ef0da6ceca

lollipopkit avatar Jul 21 '25 08:07 lollipopkit

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


https://github.com/user-attachments/assets/4e3264b0-06ee-4f1f-9218-bfc3b5471024

Cannot reproduce, wait for more feedback

Related optimization ec4bf3df240828fc3468b92ef72ca4ef0da6ceca

Issues-translate-bot avatar Jul 21 '25 08:07 Issues-translate-bot

我也有同样的问题,授予了文件访问权限

ljm1447669873 avatar Jul 22 '25 22:07 ljm1447669873

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I had the same problem, granted file access

Issues-translate-bot avatar Jul 22 '25 22:07 Issues-translate-bot

I also encountered it. Both Windows and Android platforms have this issue. Only 0.9% can be downloaded.

wudao22 avatar Jul 24 '25 02:07 wudao22

facing this error too

ils94 avatar Oct 08 '25 21:10 ils94

我也遇到这个问题了,控制台报错 SSHClient.done error: SSHPacketError(Packet too long: 32777) 就会卡住,把dartssh2库中的SSHPacket的最大长度增加了就不会报错了,但是速度一直限制在800kb一秒

DarkReunion avatar Jan 28 '26 12:01 DarkReunion

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I also encountered this problem. The console reported an error SSHClient.done error: SSHPacketError(Packet too long: 32777) and it got stuck. If I increased the maximum length of SSHPacket in the dartssh2 library, the error would not be reported, but the speed has been limited to 800kb per second.

Issues-translate-bot avatar Jan 28 '26 12:01 Issues-translate-bot

Full SFTP support has been added in #1094. This should be fixed. After next release is out, if this bug still exists please open a new issue.

GT-610 avatar Mar 31 '26 08:03 GT-610