PureFTPd upload starts over after IP change?

Marc Tremblay

Member
Mar 19, 2017
15
3
3
Canada
cPanel Access Level
Root Administrator
Hi, does anybody know why and how to fix this: I noticed this very frustrating behavior in which PureFTPd will restart a client upload from zero byte when the FTP client changes IP address, which happens totally randomly over ASDL :(

I noticed the upload filename then changed from the real filename to a temporary one such as .pureftpd.upload.4bc3bcd4

Trying to push the same upload creates a new file with the real filename from 0 byte and up.

Deleting that second nearly empty upload in an attempt to rename .pureftpd.upload.4bc3bcd4 to the real filename in hopes to be able to resume it DESTROYED both files at once...

The file is 5GB in size. Kind of frustrating on 800kbps upload ADSL, really.

Can anybody suggest a trick to avoid this situation?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
I noticed this very frustrating behavior in which PureFTPd will restart a client upload from zero byte when the FTP client changes IP address, which happens totally randomly over ASDL
Hello,

Is the IP address of the end-user changing during the FTP upload attempt with no loss in connectivity? How often is this happening? Are you able to reproduce the issue with multiple FTP clients?

Thank you.
 

Marc Tremblay

Member
Mar 19, 2017
15
3
3
Canada
cPanel Access Level
Root Administrator
>> Is the IP address of the end-user changing during the FTP upload attempt with no loss in connectivity?

Yes, and/or with loss of connectivity, but after a couple seconds, it reconnects and tries to resume, but starts over instead.

>> How often is this happening?

Every couple days randomly, well, when DSL IP changes while uploading basically.

>> Are you able to reproduce the issue with multiple FTP clients?

Can't tell, only saw this happening on Filezilla at the moment.


It's like if my server was cleaning out temporary uploads every now and then, like a garbage collection and as if it prevents the client from resuming the upload. Not sure if the IP change is really the sole reason why it starts over or if it's an independant problem.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463