Post a reply

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: Synchronizing - Lost connection during folder comparing

Automatic reconnect during synchronization is not supported yet. This issue is being tracked already.
J.Svensson

Synchronizing - Lost connection during folder comparing

I am trying a simple synch operation with this script:
option batch on
open johan@jdllas.cjb.net
synchronize remote -criteria=none "E:\Shared\Mina bilder" "./Mina bilder"

Everything works as it should, but if there are a lost connection when WinSCP is comparing the folders the script fails:
batch           on

Connecting to jdllas.cjb.net ...
Connected with jdllas.cjb.net. Waiting for welcome message...
Connected
Starting the session...
Reading remote directory...
Session started.
Active session: [1] johan@jdllas.cjb.net
Comparing...
Local 'E:\Shared\Mina bilder\1994 Gamla Bilder' => Remote './Mina bilder/1994 Ga
Local 'E:\Shared\Mina bilder\2003-08' => Remote './Mina bilder/2003-08'
Local 'E:\Shared\Mina bilder\2004 Webbackgrounds' => Remote './Mina bilder/2004
Local 'E:\Shared\Mina bilder\2004-01' => Remote './Mina bilder/2004-01'
Local 'E:\Shared\Mina bilder\2004-07 Grekland' => Remote './Mina bilder/2004-07
Local 'E:\Shared\Mina bilder\2004-07 Åland' => Remote './Mina bilder/2004-07 Åla
Local 'E:\Shared\Mina bilder\2004-08' => Remote './Mina bilder/2004-08'
Local 'E:\Shared\Mina bilder\2005-07 Bröllop' => Remote './Mina bilder/2005-07 B
Local 'E:\Shared\Mina bilder\2005-07 Bröllop\Bilder Danne' => Remote './Mina bil
Local 'E:\Shared\Mina bilder\2005-07 Bröllop\Bilder Thomas' => Remote './Mina bi
Local 'E:\Shared\Mina bilder\2005-07 Bröllop\Bröllop Farsan' => Remote './Mina b
Local 'E:\Shared\Mina bilder\2005-07 Bröllop\Bröllop Jojo' => Remote './Mina bil
Local 'E:\Shared\Mina bilder\2005-07 Bröllop\Bröllop Staffan' => Remote './Mina
bilder/2005-07 Bröllop/Bröllop Staffan'
Lost connection.
Timeout detected.
Could not retrieve directory listing
Transfer OK
Error listing directory './Mina bilder/2005-07 Bröllop/Bröllop Staffan'.
No session.
winscp>

Any idea on how to get around this?