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

martin

Re: Keep directory up to date

That's what the command should do by default.

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
bohnjp

Keep directory up to date

I have a local folder that receives files and stays active for about 60 sec before being sent to an archive folder. As soon as a file hits the folder, WinSCP sends the file to a remote SFTP, which works great. The problem is, if there are any files on the SFTP site from a previous upload, when a sync is done, it adds the new file and removes anything that is already there, even though I do NOT have teh "Delete files" checked.
How would I continue to monitor my local folder, as soon as a file is put there, send it to the SFTP but not care what already exist on the SFTP. So if I have 1 new file to send, and there are 10 files on the SFTP, I just want to send the new one and end up with 11 files on the SFTP.
thanks for any help