"The operation was not completed within the specified time limit." exception when uploading files on SFTP

0 votes
asked Aug 19, 2015 by Prajakta (130 points)

Hi,
I am attempting to upload files on FTP using sFTP.
"The operation was not completed within the specified time limit." exception is thrown during the image file upload, what can be the possible cause of this exception.
Also though this exception is logged using my logger still application is getting continued.

Below is my code line to upload file
mobjRebexFTP.Encoding = Encoding.UTF8; mobjRebexFTP.PutFile("Local Path", "FTP directory path");

Regards,
Prajakta

1 Answer

0 votes
answered Aug 19, 2015 by Tomas Knopp (58,890 points)
edited Aug 19, 2015 by Lukas Pokorny
Hello, the exception means that the client has not received a reply from the server timely enough. Please create a log of communication and either post it here or send it to support@rebex.net. Seeing the log it will be easier for us to see what is going on and help you then.
...