Topic "synchronize script failures"

Author Message
[View user's profile]

Joined: 2015-03-10
Posts: 1
Location: Germany

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:// -implicit
synchronize -filemask="*.xlsx" remote "E:\Data\Usage Report\" "/Shared/Usage Reports/"

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.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Please start here:

If that does not explain your problems, please attach a complete session log file from two consecutive runs.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License