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

Author Message
GianTrinidad

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
For general scripting, please refer to:
http://winscp.net/eng/docs/guide_automation

And use get command with -filemask switch with time constraint:
Code:
get /path/* -filemask=*>1D

http://winscp.net/eng/docs/file_mask
http://winscp.net/eng/docs/scriptcommand_get
_________________
Martin Prikryl
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