Topic "How to detect end of synchronization?"

Author Message
JustMe

Guest


Hi all,

We have two servers with server 1 set up to execute "synchronize both" on a scheduled basis (command line, so no GUI). The files can be quite large, say 500 MB, so file transfer will take some time to complete. How can I make absolutely sure the synchronization has completed when I only have access to Server 2?

And how would I go about detecting the completion of the sync on server 1 (where the process actually runs)?

Thanks a lot for your help!
JustMe

Guest


Maybe I should mention (I just found out myself) that the log file is located on server 2 and I see that the last line for each sync job is "Closing connection.". (Server 1 - on which the sync job is executed - can write to this file on server 2)

Would it be safe to say that this is a good indication of the completed job, or could it be that very large files are handled in a seperate thread and somehow complete at a later time than indicated by "Closing connection." in the log file?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
XML logging may be more realiable:
http://winscp.net/eng/docs/logging_xml
_________________
Martin Prikryl
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