Topic "Keep directory up to date"

Author Message
bohnjp
[View user's profile]

Joined: 2016-12-13
Posts: 1
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
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27083
Location: Prague, Czechia
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.
Advertisements

You can post new topics in this forum

Search

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