Topic "Synchronizing only if folder does not exist"

Author Message


Running a simple synchronize script which synchronizes local folders from an ftp server. The folders consist of rared files most of the time and on my local computer a have a program that automatically unrars and deletes the rar files.

Since I would like the files to remain as they were on the server this automated sequence does the things over and over again since the rar files has been deleted, the next time the synchronization occurs the rar files is downloaded again.

On my local computer I still have the main folder for each group of rar files and I wonder if there is some way to tell WinSCP not to perform synchronization of the rar files if the same folder exists locally?

Example: Smile
Synchronization 1
Remote server has folder a1 which has a1.r01, a1.r02 ...
Both folder and files is downloaded to local

Synchronization 2
Folder a1 exists locally but the rar files has been extracted to a1.txt and deleted. Since folder a1 exists locally WinSCP does NOT download a1.r01, a1.r02 ...
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
No, it is not possible.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License