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

Author Message
RussFreeman
[View user's profile]

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

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:
Code:
winscp /script=<scriptname>.txt


The script:
Code:
# 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License