Scripting...Daylight savings change now downloads everything

Advertisement

RussFreeman
Joined:
Posts:
1
Location:
United Kingdom

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:
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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Scripting...Daylight savings change now downloads everything

Thanks for your report.
I have sent you an email with a development version of WinSCP to address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum