SFTP upload loop

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
stefan2020
500 Command not understood
Posts: 2
Joined: 2020-11-14 15:26

SFTP upload loop

#1 Post by stefan2020 » 2020-11-16 15:54

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?

User avatar
botg
Site Admin
Posts: 33239
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: SFTP upload loop

#2 Post by botg » 2020-11-18 08:56

Does the partial file remain on the server?

stefan2020
500 Command not understood
Posts: 2
Joined: 2020-11-14 15:26

Re: SFTP upload loop

#3 Post by stefan2020 » 2020-11-23 11:22

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.

User avatar
botg
Site Admin
Posts: 33239
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: SFTP upload loop

#4 Post by botg » 2020-11-24 10:29

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.

Post Reply