Posted: 2009-01-28 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.
Location: Prague, Czechia
Use "synchronize local" instead of "get". See documentation.
You can post new topics in this forum
And it's free!