Scripting...Daylight savings change now downloads everything
Hi,
My first post :-)
Now that DST has kicked in here in the UK my simple script downloads everything every time it is run. It didn't do this yesterday.
All it does is sync the files from a remote FTP server to my local drive but it constantly downloads again and again.
I'm sure I must be doing something wrong but having had a good look through the docs I can't find it.
Please, someone point me in the right direction :-)
Version 5.1.0 (Build 2625) - which I have just downloaded and tested against.
The command line:
The script:
My first post :-)
Now that DST has kicked in here in the UK my simple script downloads everything every time it is run. It didn't do this yesterday.
All it does is sync the files from a remote FTP server to my local drive but it constantly downloads again and again.
I'm sure I must be doing something wrong but having had a good look through the docs I can't find it.
Please, someone point me in the right direction :-)
Version 5.1.0 (Build 2625) - which I have just downloaded and tested against.
The command line:
winscp /script=<scriptname>.txt
The script:
# Automatically answer all prompts negatively not to stall the script on errors option batch on # Disable overwrite confirmations that conflict with the previous option confirm off # Connect using a password open <user/password/etc> -passive=on # Change remote directory cd "<server path>" # Force binary mode transfer option transfer binary synchronize local "<path>" -mirror # Disconnect close # Exit WinSCP Exit