This project is read-only.

Resume on Connection Failure

Sep 1, 2011 at 5:57 PM
Edited Sep 1, 2011 at 5:58 PM


First, let me say thanks for the great and very versatile AlexFTPS. We are having an issue that I see has been discussed on this list regarding connections dropping mid upload/download. We have worked with our host and confirmed that there are no issues with either the server (IIS 7.5), FTP configuration or the firewall. We have also verified that this is not an isolated issue with AlexFTPS as we have been able to reproduce this on both FileZilla and WinSCP where the connection times out. We have both the control channel timeout and the data channel timeout set for 300s on the server and disconnect occurs at random intervals well before 300s. We also have this specified in the timeout for our connection through AlexFTPS. We have noticed that the issue is more pronounced when uploading images than say PDF files.

AlexFTPS returns:

{"Unable to write data to the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."}

Both FileZilla and WinSCP have a resume process that simply reconnects and continues the process from where the disconnect occurred. It doesn’t address the issue, but at least all the files get transferred. Can a resume method be added to AlexFTPS to reestablish connection if unexpectedly terminated so that the transfer continues through to completion?