Topic "Realtime bidrectional sync between FTP and local directory"

Author Message
JeffClay
[View user's profile]

Joined: 2013-07-31
Posts: 5
Location: US
I'm needing a realtime syncing solution to keep local files and an FTP server in sync. The files will be large and the FTP server is off-site, so I'm concerned about users trying to open partially downloaded files, or saving a file multiple times while the previous upload is still in progress. This solution also need to start when windows does on the server, and if it stops or hangs for any reason, it needs to restart itself. Is this something that WinSCP can do out of the box via gui, or will I have to script or program this?

Thanks in advance.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Will you be uploading or downloading? Or both?
_________________
Martin Prikryl
tomb
[View user's profile]

Joined: 2013-07-05
Posts: 19
Same question from me. I will be uploading to the FTP server. I am not concerned about users trying to open partially downloaded files but i do want to prevent uploading files that did not change since the last upload.
I addition: I want the FTP job to delete the files from the FTP server that were deleted from the source location since the last run.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
tomb wrote:
Same question from me. I will be uploading to the FTP server. I am not concerned about users trying to open partially downloaded files but i do want to prevent uploading files that did not change since the last upload.
I addition: I want the FTP job to delete the files from the FTP server that were deleted from the source location since the last run.

Use synchronize -delete remote <local directory> <remote directory>

See http://winscp.net/eng/docs/scriptcommand_synchronize
tomb
[View user's profile]

Joined: 2013-07-05
Posts: 19
Thanks Martin. I should have found this myself.
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