Topic "Scripting...Daylight savings change now downloads everything"

Author Message
[View user's profile]

Joined: 2012-10-28
Posts: 1
Location: United Kingdom

My first post Smile

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 Smile

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

# Exit WinSCP
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
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.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License