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

Author Message
grantcoll
[View user's profile]
Donor
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 /
exit

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.

Thanks
Grant.
winscpsync.txt (9.05 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25025
Location: Prague, Czechia
Please attach a complete log file, using the latest version of WinSCP.
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