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.

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)


Topic review



Please ignore the above post. After the script ran again it timed out once again. I've sent you an E-mail.



Hi Martin

Thanks for getting back to me, your support for WinSCP is outstanding across the forum!

I managed to resolve this by changing the script to

synchronize remote "local UNC path", rather than:

synchronize remote "\\network path"

I also changed the timeout to be 600 seconds rather than the default. I'm not sure which of these options resolved this but it's now working.

Re: WinSCP Timeout during synchronization

Thanks for your report.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

WinSCP Timeout during synchronization

Hello, I'm using WinSCP to backup some files over FTP. It runs through okay for a few minutes with successful file transfers but when reaching random directories it will simply timeout. Each timeout is in a different directory. See below logs.

. 2014-11-21 12:22:33.411 Retrieving directory listing...
> 2014-11-21 12:22:33.411 CWD /Data/daily/x_drive/Payroll/AE/REACH2s Auto Enrolement/BURLINGTON INFANTS/
< 2014-11-21 12:22:33.411 250 CWD successful. "/Data/daily/x_drive/Payroll/AE/REACH2s Auto Enrolement/BURLINGTON INFANTS" is current directory.
> 2014-11-21 12:22:33.411 PWD
< 2014-11-21 12:22:33.427 257 "/Data/daily/x_drive/Payroll/AE/REACH2s Auto Enrolement/BURLINGTON INFANTS" is current directory.
> 2014-11-21 12:22:33.427 TYPE A
< 2014-11-21 12:22:33.427 200 Type set to A
> 2014-11-21 12:22:33.427 PASV
< 2014-11-21 12:22:33.427 227 Entering Passive Mode (95,131,218,2,31,86)
> 2014-11-21 12:22:33.427 MLSD
< 2014-11-21 12:22:33.427 150 Opening data channel for directory listing of "/Data/daily/x_drive/Payroll/AE/REACH2s Auto Enrolement/BURLINGTON INFANTS"
. 2014-11-21 12:22:33.427 TLS connection established
. 2014-11-21 12:22:48.512 Timeout detected.
. 2014-11-21 12:22:48.512 Could not retrieve directory listing
< 2014-11-21 12:22:48.543 Script: Lost connection.
< 2014-11-21 12:22:48.543 Script: Timeout detected.
< 2014-11-21 12:22:48.543 Could not retrieve directory listing
< 2014-11-21 12:22:48.543 Error listing directory '\Data\daily\x_drive\Payroll/AE/REACH2s Auto Enrolement/BURLINGTON INFANTS'.

Any help will be much appreciated.