Topic "Synchronization without deleting local files"

Author Message
tingtang

Guest


Hi! Is there a way to synchronize (or other option) files without deleting local files. For example:
On remote FTP I want to keep 1 monthly old files. On local I want to keep 2 monthly files. I have batch script on FTP server, which deletes files older then 1 month on it. So, after synchronization local files are deleting also. For now I'm saving it with this way: I have local batch script, which is moving 2 monthly files to other folder, so. But are there any way to resolve only with winscp?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Synchronization deletes files only if you instruct it to do so using -delete switch. Just remove it.
http://winscp.net/eng/docs/scriptcommand_synchronize
tingtang

Guest


I'm not using that option, how can disable it?
tingtang

Guest


Sorry, that's right. It has been added, by some reason). Thank you.
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