Topic "get file based on date"

Author Message


I am looking for a way to write a script that will get a file with todays date as part of the file name. The file name will be formated as follows: [some text].mm.dd.yyyy.[more text]

I would prefer it to retirieve the most recient date available, but suspect that would be more trouble than it is worth.

Any suggestions as to how to go about doing this?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26331
Location: Prague, Czechia
One of these two examples may help you:
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