Topic "filemask using days, e.g *>=1D Is 1D = 24 hours or just the calendar day prior?"

Author Message
dbabmr
[View user's profile]

Joined: 2017-03-01
Posts: 1
If I use -filemask="*>=1D", does that compare just the day component of time, or does it compare using 24 hours? Example, if source file was created 25 hours ago at 7am my time yesterday, if I do a get using *>=1D", will that file get picked up? The date is one day old, but the time is more than 24 hours ago. Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26150
Location: Prague, Czechia
>=1D means the same as =>24H.
Explicitly mentioned here:
https://winscp.net/eng/docs/script_download_most_recent_file#alternatives

Implied by the context of "interval" here:
https://winscp.net/eng/docs/file_mask#size_time
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