I test the quota of a SFTP server. The test case uses a quota of 10 MB and I upload a file of 11 MB with FileZilla.The upload is blocked after 10 MB and the correct error code 15 is visible.
Fehler: error while writing: received unknown error code 15 with description 'Quota exceeded'
Fehler: Dateiübertragung fehlgeschlagen nach Übertragung von 11.428.798 Bytes in 1 Sekunde
The problem is that FileZilla restarts the upload in an endless loop.
In different test cases FileZilla does not loop. For example if only 2 MB are remaining of the quota. If 0 space is available it does not loop, too. In some cases I see multiple tries, but the upload stops. The log is the same in all cases.
So my question is why does FileZilla loop or tries multiple times, but not always? What does FileZilla check to stop retry?
SFTP upload loop
Moderator: Project members
Re: SFTP upload loop
Does the partial file remain on the server?
-
- 500 Command not understood
- Posts: 2
- Joined: 2020-11-14 15:26
Re: SFTP upload loop
No, the file is deleted.
The server has a workflow that detects new files for processing. The SFTP server deletes unfinished uploads to avoid problems in the workflow.
The server has a workflow that detects new files for processing. The SFTP server deletes unfinished uploads to avoid problems in the workflow.
Re: SFTP upload loop
Either increase the quota, or configure the server not to delete partial uploads.
FileZilla automatically tries to resume a failed transfer if it made any progress uploading. This means in each iteration it is making progress if the server deletes the file in-between.
FileZilla automatically tries to resume a failed transfer if it made any progress uploading. This means in each iteration it is making progress if the server deletes the file in-between.