Extensible, async, cloud orientated FTP(S) server library and the core of unFTP: https://github.com/bolcom/unFTP. Follow up and talk to us on https://t.me/unftp
Apache License 2.0
187
stars
34
forks
source link
Downloading larger files (8K+) from bucket fails #219
---- Connecting data socket to (XX.XX.XX.33) port 2003
---- Data connection established
---> RETR garbage.bin
<--- 150 Sending Data
<--- 226 Successfully sent
---- Got EOF on data connection
---- Closing data socket
expected pos=8192, actual pos=7115
get: garbage.bin: file size decreased during transfer
lftp XX.XX.XX.33:/> !gdu -b garbage.bin-new
7115 garbage.bin-new
The output of unFTP:
May 12 13:17:55.736 INFO Data command received: Retr { path: "garbage.bin" }
May 12 13:17:55.820 INFO Processing control channel event InternalMsg(SendingData)
May 12 13:17:55.821 INFO Processing control channel event InternalMsg(SendData { bytes: 7122 })
May 12 13:20:55.860 INFO Processing control channel event Command(Quit)
Bug with (at least):
Same issue not occurring with filesystem backend.
This works: Downloading a file of 2KB size.
A larger file, starting at 8KB+ gives issues:
The output of unFTP: