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

tomb

Thanks Martin. I should have found this myself.
martin

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 https://winscp.net/eng/docs/scriptcommand_synchronize
tomb

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

Re: Realtime bidrectional sync between FTP and local directory

Will you be uploading or downloading? Or both?
JeffClay

Realtime bidrectional sync between FTP and local directory

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.