Topic "Timeout waiting for WinSCP to respond."

Author Message
naren54783
[View user's profile]

Joined: 2014-12-22
Posts: 6
Location: Narendra Patel
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?

Last edited by naren54783 on 2015-01-30 17:39; edited 1 time in total
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
This is a known bug in older versions of WinSCP:
http://winscp.net/tracker/show_bug.cgi?id=996

Please upgrade and restart you server.
naren54783
[View user's profile]

Joined: 2014-12-22
Posts: 6
Location: Narendra Patel
prikryl wrote:
This is a known bug in older versions of WinSCP:
http://winscp.net/tracker/show_bug.cgi?id=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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.

Quote:
Which version has this fix?

See the tracker.
It has all the information you ask for.
http://winscp.net/tracker/show_bug.cgi?id=996

Quote:
Do upgrade will make sure it will not occur again?

Yes.

Quote:
Which latest stable version should I use?

There's only one "the latest stable version", 5.5.6.
Tutul
[View user's profile]

Joined: 2016-08-08
Posts: 5
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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Try to set longer [pm]Session.Timeout[/m].
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License