Using synchronize -criteria=time in a script fails

Advertisement

Hube
Guest

Using synchronize -criteria=time in a script fails

I am trying to use the following command in a script file (all one line).

synchronize -criteria=size remote D:\Recorded_TV /mnt/Scratch/Users/frontrow/Movies/tv

When I invoke the script:

WinSCP.com /script=E:\scripts\appleTV_cron.txt

I get the following message:

Too many parameters for command 'synchronize'.

If I remove the -criteria=time it works just fine.

This is an absolutely fabulous piece of software, Thank you so much for taking the time to create and maintain it.

Hube

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Using synchronize -criteria=time in a script fails

The -criteria switch is available since 4.1 beta only. I guess you are using an earlier version.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum