Topic "Synchronize resuming transfer not working when connection lost during "Error listing directory""

Author Message
unpatrice
[View user's profile]

Joined: 2016-05-30
Posts: 4
Location: france
I use the synchronize command with resumesupport on and multiple retry loop in my batch to prevent lost connection.

The resuming works great when connection lost during transfer but not pending listing directory.

If connection is lost during listing directory operation, the synchronize is lost and it begins from the start.
With little bandwidth connection and lots of directories to synchronize, you cannot complete a total synchronization ever.

It would be great to enhance the resume support option to tackle this issue.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
What version of WinSCP are you using?

This should be fixed since 5.6.4:
https://winscp.net/tracker/show_bug.cgi?id=25
unpatrice
[View user's profile]

Joined: 2016-05-30
Posts: 4
Location: france
WINSCP 5.7.7
unpatrice
[View user's profile]

Joined: 2016-05-30
Posts: 4
Location: france
to be more precised

winscp reconnect but do not resume (it restarts from the beginning of the sync folder)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
unpatrice
[View user's profile]

Joined: 2016-05-30
Posts: 4
Location: france
Hi

See attached the log file.

As you can see, the disconnection problem is "Timeout detected. (control connection). Could not retrieve directory listing".

After that, even with the reconnecttime option, the script exits.
synchroSalsaFTP_20160530_1.7z (8.94 MB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
But it does try to reconnect:

Quote:
. 2016-05-30 13:15:56.624 Timeout detected. (control connection)
. 2016-05-30 13:15:56.624 Could not retrieve directory listing
. 2016-05-30 13:15:56.624 Connection was lost, asking what to do.
. 2016-05-30 13:15:56.624 Asking user:
. 2016-05-30 13:15:56.624 Lost connection. ("Timeout detected. (control connection)","Could not retrieve directory listing")
< 2016-05-30 13:15:56.624 Script: Lost connection.
< 2016-05-30 13:15:56.624 Script: Timeout detected. (control connection)

< 2016-05-30 13:15:56.624 Could not retrieve directory listing
< 2016-05-30 13:16:01.625 Script: Connecting to salsa:4009 ...
. 2016-05-30 13:16:01.625 Connecting to salsa:4009 ...
. 2016-05-30 13:16:16.625 Timeout detected. (control connection)
. 2016-05-30 13:16:16.625 Connection failed.
. 2016-05-30 13:16:16.625 Connection was lost, asking what to do.
. 2016-05-30 13:16:16.625 Asking user:
. 2016-05-30 13:16:16.625 Connection failed. ("Timeout detected. (control connection)","Connection failed.")
< 2016-05-30 13:16:16.625 Script: Connection failed.
< 2016-05-30 13:16:16.625 Script: Timeout detected. (control connection)

< 2016-05-30 13:16:16.625 Connection failed.
< 2016-05-30 13:16:21.625 Script: Connecting to salsa:4009 ...
. 2016-05-30 13:16:21.625 Connecting to salsa:4009 ...
. 2016-05-30 13:16:36.626 Timeout detected. (control connection)
. 2016-05-30 13:16:36.626 Connection failed.
< 2016-05-30 13:16:36.626 Script: Lost connection.
< 2016-05-30 13:16:36.626 Script: Timeout detected. (control connection)

< 2016-05-30 13:16:36.626 Could not retrieve directory listing

< 2016-05-30 13:16:36.626 Error listing directory '/Aris/SIV/XSD-WSDL/XSD0.39/xsd/ImmatSivService/ImmatSurVehiculeNeufPeSIT/onFile'.


For 30 seconds, as you have configured:

Quote:
> 2016-05-30 11:33:37.788 Script: option reconnecttime 30
< 2016-05-30 11:33:37.788 Script: reconnecttime 30
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