Page 1 of 1

Uploading a file when no space is available

Posted: Fri Apr 17, 2015 8:32 am
by qoverq
Bug Report:
When the diskspace on the server is full and a user uploads a file, the FTP service generates Upload successful Message, although the file is only uploaded partly.

Re: Uploading a file when no space is available

Posted: Mon Apr 27, 2015 3:09 am
by FTP
OK, we will improve it in the next release.

Re: Uploading a file when no space is available

Posted: Tue Dec 01, 2015 10:21 am
by matt1234
This defect appears to still be present in version 4.5.8. Uploading a file to a full filesystem returns no error, but only a file of size 0 is created. Can you comment on when this will be fixed?


ftp> ls
229 Entering Extended Passive Mode (|||50469|)
150 Opening data channel for directory list.
-rw-r--r-- 1 root root 1002475520 Dec 01 10:01 dump
-rw-r--r-- 1 root root 2723840 Dec 01 10:14 dump2
drwx------ 2 root root 0 Dec 01 09:57 lost+found
226 Transfer ok.

ftp> put valgrind.bc.out
local: valgrind.bc.out remote: valgrind.bc.out
229 Entering Extended Passive Mode (|||50470|)
150 Opening BINARY mode data connection for file transfer.
100% |***************************************************************************************************************************************************************| 6117 2.62 MiB/s 00:00 ETA
226 File received ok.Transfer bytes:6117Bytes;Average speed is:5.974KB/s
6117 bytes sent in 00:00 (104.10 KiB/s)

ftp> ls
229 Entering Extended Passive Mode (|||50471|)
150 Opening data channel for directory list.
-rw-r--r-- 1 root root 1002475520 Dec 01 10:01 dump
-rw-r--r-- 1 root root 0 Dec 01 10:14 valgrind.bc.out
-rw-r--r-- 1 root root 2723840 Dec 01 10:14 dump2
drwx------ 2 root root 0 Dec 01 09:57 lost+found
226 Transfer ok.

Re: Uploading a file when no space is available

Posted: Tue Dec 01, 2015 3:17 pm
by FTP
In fact, FTP protocol just tells the file upload result, it can't detect whether you uploads the 100% of original file content or not, anyway, in this case, maybe we can improve the result message to tell you whether occurs some error in the server side.