Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Timeout waiting for WinSCP to respond.

Try to set longer [pm]Session.Timeout[/m].
Tutul

Re: Timeout waiting for WinSCP to respond.

Hello,

Am getting error 'Timeout waiting for WinSCP to respond' error while trying to download a 5.5GB zipped file from FTP to a temp location.
Protocol used: FTP, with SSL explicit encryption.

I can observe the temp file growing to about 5.1 GB and then getting stuck for few seconds and finally returning above error.

Am using version 5.9

Below is what is there in the logs:
> 2016-08-22 12:39:28.081 TYPE I
< 2016-08-22 12:39:28.082 200 Type set to I.
> 2016-08-22 12:39:28.082 PASV
< 2016-08-22 12:39:28.083 227 Entering Passive Mode (52,178,148,210,19,140).
> 2016-08-22 12:39:28.083 RETR \Experian\<filename>.zip
< 2016-08-22 12:39:28.084 150 Opening BINARY mode data connection.
. 2016-08-22 12:39:28.085 Session ID reused
. 2016-08-22 12:39:28.086 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES256-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AES(256) Mac=SHA384
. 2016-08-22 12:39:28.086 TLS connection established

Can you please help.

Thank You
martin

Re: Timeout waiting for WinSCP to respond.

naren54783 wrote:

For one time we can upgrade and restart but restarting is not a great solution because it production box and we can't restart it during business hours.

Restarting is the only way to recover your system. If the problem did not occur yet, and you are far away from it happening again, you do not really need to restart it. But there's no way to tell exactly how far are you away from the problem happening. So we recommend you to restart.

Which version has this fix?

See the tracker.
It has all the information you ask for.
https://winscp.net/tracker/996

Do upgrade will make sure it will not occur again?

Yes.

Which latest stable version should I use?

There's only one "the latest stable version", 5.5.6.
naren54783

Re: Timeout waiting for WinSCP to respond.

martin wrote:

This is a known bug in older versions of WinSCP:
https://winscp.net/tracker/996

Please upgrade and restart you server.



For one time we can upgrade and restart but restarting is not a great solution because it production box and we can't restart it during business hours.

Which version has this fix?
Do upgrade will make sure it will not occur again?
Which latest stable version should I use?
martin

Re: Timeout waiting for WinSCP to respond.

This is a known bug in older versions of WinSCP:
https://winscp.net/tracker/996

Please upgrade and restart you server.
naren54783

Timeout waiting for WinSCP to respond.

We are using WinSCP.dll in C#.net to download files from sFTP server.

Sometimes it gives below error and it is not resolved until we restart our server.

"Timeout waiting for WinSCP to respond - Log file C:\Users\SQLSvrsvc\AppData\Local\Temp\wscp0D78.0265601D.tmp was not created in time, please make sure WinSCP has write permissions to the folder
Error occurred while downloading the file from FTP. WinSCP Timeout."

But restarting is not a great solution because it production box and we can't restart it during business hours.


Winscp version 5.1.4(Build 3020)

Did anyone faced this issue and know any permanent solution?
Did latest WinSCP has this issue fixed?