Topic "How to download today's file using script"

Author Message


Hello all, i would like to know how to build a script to download a file that someone has previously uploaded in server today, i mean not downloading the old ones but only the file with today's date.

Any help is really appreciated. Thanks.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24755
Location: Prague, Czechia
For general scripting, please refer to:

And use get command with -filemask switch with time constraint:
get /path/* -filemask=*>1D
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