Opened 15 years ago

Closed 15 years ago

Last modified 10 years ago

#4167 closed Bug report (worksforme)

552 Quota error handling

Reported by: William Owned by:
Priority: normal Component: FileZilla Client
Keywords: 552 disk quota exceeded loop retry Cc:
Component version: Operating system type: Windows
Operating system version: XP SP3

Description

PC: Windows XP Pro SP3 with 2GiB RAM and 3GHz Intel P4
Client: FileZilla 3.2.0
Server: ProFTPD 1.3.1

Hi guys,

some of the servers I connect to allow me to resume partially uploaded files. When there is also a file system quota set (and maxed out) for the connecting user I've noticed an issue with FileZilla where it will loop several hundred times (inconsistent number) in an attempt to force an upload of the file.

When there are hundreds of files in the queue and each file causes four to five hundred failed upload attempts it will be hammering the server to no end for hours. It would seem more logical to cancel all uploads for a user@server/dir with an error message when there is no more quota left (i.e. the server returns a 552 error). Full is full.

I will attach full debug logs but here is a summery:
2009-01-15 17:35:14 1484 1 Status: Starting upload of C:\ISO\Debian\debian-testing-i386-businesscard.iso
2009-01-15 17:35:14 1484 1 Command: STOR debian-testing-i386-businesscard.iso
2009-01-15 17:35:14 1484 1 Response: 552 Transfer aborted. Disk quota exceeded
2009-01-15 17:35:14 1484 1 Command: APPE debian-testing-i386-businesscard.iso
2009-01-15 17:35:15 1484 1 Response: 552 Transfer aborted. Disk quota exceeded
2009-01-15 17:35:15 1484 1 Command: APPE debian-testing-i386-businesscard.iso
2009-01-15 17:35:15 1484 1 Response: 552 Transfer aborted. Disk quota exceeded
etc. etc...

When the server disables upload resuming the client will try a normal upload then only a few APPE (resulting in error 451) and then disconnect.

With ProFTPD's HiddenStores enabled (and APPE automatically disabled) the server will upload an incoming file with a temporary file name. If the transfer is interrupted with the 552 error the client will try the same upload again. Because the temporary name already exists the server returns a 550 error and FileZilla stops trying immediately.

It would also be nice to be able to set a retry limit for any kind of action and not just the connection retry limit.

Cheers, and thanks for an otherwise great FTP client!

Attachments (1)

logs.zip (51.9 KB ) - added by William 15 years ago.
Packed log files (debug log is way over 256KiB)

Download all attachments as: .zip

Change History (2)

by William, 15 years ago

Attachment: logs.zip added

Packed log files (debug log is way over 256KiB)

comment:1 by Tim Kosse, 15 years ago

Resolution: worksforme
Status: newclosed

APPE debian-testing-i386-businesscard.iso
451 debian-testing-i386-businesscard.iso: Append/Restart not permitted, try again

4yz reply codes are temporary errors that will go away on their own, client is encouraged to try again.

APPE debian-testing-i386-businesscard.iso
150 Opening BINARY mode data connection for debian-testing-i386-businesscard.iso
552 Transfer aborted. Disk quota exceeded

Transfer error after data connection has already been opened. Since progress may have been made, client tries again.

Solution: Fix the server to use 5yz reply code for STOR and fail APPE immediately, if disk is full there's no point in opening the data connection first.

Note: See TracTickets for help on using tickets.