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.
Uploading a file when no space is available
-
- Site Admin
- Posts: 2078
- Joined: Tue Sep 29, 2009 6:09 am
Re: Uploading a file when no space is available
OK, we will improve it in the next release.
-
- Posts: 4
- Joined: Mon Nov 23, 2015 3:53 pm
Re: Uploading a file when no space is available
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.
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.
-
- Site Admin
- Posts: 2078
- Joined: Tue Sep 29, 2009 6:09 am
Re: Uploading a file when no space is available
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.