Topic "Trouble trying to script download files with newer date and time"

Author Message
[View user's profile]
Joined: 2016-07-16
Posts: 1
Location: Hamilton,NZ
I am trying to FTP download some files that are updated periodically.

The script works when the local file doesn't exist, but once it has been downloaded, and I run the script next day, it doesn't see the difference, even though the remote files have been updated. (They are zipx, have the same filenames, but have been updated with new data, date and time).

The script I am using is the following:
open CtasBackupMySQL
synchronize local -mirror -filemask="CtasWebSitesDataBackup???.zipx" E:\Shared\Backup_VPS /

I turned on logging, and have attached the extracts showing the file listing and that nothing to sync.

One file, CtasWebSitesDataBackupThu.zipx has an older date locally, but it is not synched.

Please tell me what is wrong, or a work around to achieve this.

winscpsync.txt (9.05 KB) [Download]

Description: (none)

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Please attach a complete log file, using the latest version of WinSCP.

You can post new topics in this forum


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