Posted: 2014-01-19 11:26
I've got this script:
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
open ftp://root:firstname.lastname@example.org -hostkey="xxx"
# Change remote directory
# Force binary mode transfer
option transfer binary
# Download file to the local directory
get *.txt H:\ftptest\
# Exit WinSCP
And what it does it copies everything in that directory each time. Is there a way I can make it skip the file if it already exists in the target directory?
Location: Prague, Czechia
Please read FAQ:
If that does not help, come back.
You can post new topics in this forum
And it's free!