FTP uploads are incomplete

Advertisement

GuestXI
Guest

FTP uploads are incomplete

5.0.7 (b2268) beta doesn't allow me to upload any files larger than approximately 10MB to my NAS running a very simple FTP server. The transfer will be aborted and a file left on the server that can be from ~100kb to any larger random size. The file never gets uploaded intact.

The only workaround I have found is to set a speed limit to 512kb/s.

Testing with 4.3.8 speeds of up 5Mbit/s are reached while finishing the transfer.


Logging doesn't show any error messages and the logs are identical from 4.3.8 and the beta. Both say the upload was successful. Note the different file sizes.


4.3.8:
Copying 1 files/directories to remote directory "/stor1"
PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
TM: M; ClAr: No; CPS: 0; ExclM(No):
AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
File: "C:\backup.7z"
Copying "C:\backup.7z" to remote directory started.
Binary transfer mode selected.
Starting upload of C:\backup.7z
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (192,168,1,0,80,108).
STOR backup.7z
150 Opening BINARY mode data connection for backup.7z.
Session upkeep
226 Closing data connection.
Upload successful
Got reply 1 to the command 4
Retrieving directory listing...
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (192,168,1,0,80,109).
LIST -a
150 File status okay; about to open data connection.
226 Closing data connection.
drw-rw-rw- 1 user group 0 Jul 3 13:34 .
drw-rw-rw- 1 user group 0 Jul 3 13:34 ..
-rw-rw-rw- 1 user group 50195490 Jul 5 12:11 backup.7z
Directory listing successful
Got reply 1 to the command 2
Session upkeep


5.0.7 beta:
Copying 1 files/directories to remote directory "/stor1"
PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: Yes; Mask: *.*
TM: M; ClAr: No; CPS: 0; InclM:
AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
File: "C:\backup.7z"
Copying "C:\backup.7z" to remote directory started.
Binary transfer mode selected.
Starting upload of C:\backup.7z
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (192,168,1,0,80,112).
STOR backup.7z
150 Opening BINARY mode data connection for backup.7z.
Session upkeep
226 Closing data connection.
Session upkeep
Upload successful
Got reply 1 to the command 4
Retrieving directory listing...
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (192,168,1,0,80,113).
LIST -a
150 File status okay; about to open data connection.
226 Closing data connection.
drw-rw-rw- 1 user group 0 Jul 3 13:34 .
drw-rw-rw- 1 user group 0 Jul 3 13:34 ..
-rw-rw-rw- 1 user group 25336160 Jul 5 12:14 backup.7z
Directory listing successful
Got reply 1 to the command 2
Session upkeep

Reply with quote

Advertisement

GuestXI
Guest

Excellent. Without the buffer, transfers are completing successfully.

Does "SendBuf" have to be set manually for every stored session or can it be disabled it in scripts?

Reply with quote

Advertisement

You can post new topics in this forum