Synchronizing only if folder does not exist

Advertisement

Hyzac
Guest

Synchronizing only if folder does not exist

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: :)
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 ...

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum