Posted: 28 Jan 2009 14:59
"C:\WinSCP\winscp.com" userid:password@server:22" /command "option confirm off" "get /testdir/*.txt logs\*" "exit"
Above command line is getting all files from server's testdir to local machines's logs folder. It works fine.
I want to skip all files if exists on local, currently it is overwriting.
If on server 1000 files, and on machine 900 files then need to download only 100 files.
Confirmation message remains to be off as it is script / batch process and no user intervation is requried,
so what is the switch or clause with get command to skip files if already exists.
Joined: 10 Dec 2002
Location: Prague, Czech republic
Posted: 30 Jan 2009
Use "synchronize local" instead of "get". See documentation.
You can post new topics in this forum
And it's free!
Site design by Black Gate