synchronize script failures

Advertisement

gnauck
Joined:
Posts:
1
Location:
Germany

synchronize script failures

Hello

I have the following script to synchronize a local folder with a remote ftp server over ftp SSL/TLS

option batch abort
option confirm off
open ftps://user:pass@myftp.com/ -implicit
synchronize -filemask="*.xlsx" remote "E:\Data\Usage Report\" "/Shared/Usage Reports/"
close
exit


the last log entries look always like this:
> 2015-03-10 06:26:45.819 TYPE I
< 2015-03-10 06:26:45.841 200 Command TYPE okay.
> 2015-03-10 06:26:45.841 PASV
< 2015-03-10 06:26:45.864 227 Entering Passive Mode (208,83,111,232,78,35)
> 2015-03-10 06:26:45.864 STOR User_Report_2014-11-01.xlsx
< 2015-03-10 06:26:45.913 150 File status okay; about to open data connection.
. 2015-03-10 06:26:46.118 TLS connection established
< 2015-03-10 06:26:46.413 226 Transfer complete.
> 2015-03-10 06:26:46.413 MFMT 20141102030553 User_Report_2014-11-01.xlsx
< 2015-03-10 06:26:46.508 213 ModifyTime=20141102030553; User_Report_2014-11-01.xlsx
. 2015-03-10 06:26:46.508 Upload successful
. 2015-03-10 06:26:46.508 Transfer done: 'E:\Data\Usage Report\AA0066\2014\November\User_Report_2014-11-01.xlsx' [4536]
> 2015-03-10 06:26:46.509 Script: close
. 2015-03-10 06:26:46.512 Disconnected from server

The problem is that when the script ends not all files are synchronized. When I start the Script again then it finds many files to Sync again and then stops with the same messages in the log.

The last log entries don't look like unexpected disconnects from the server to me. Is it possible that WinSCP has problems with my directory structure and does not sync all directories?
Is there a limitation of max number of files or folders? Right now in the first sync I try to sync ~15K files in 800 folders.
On every rerun of the script it finds some more files which to sync.

Thanks,
Alex

Reply with quote

Advertisement

You can post new topics in this forum