Topic "script_download_timestamped_filename"

Author Message
Tony C

Guest


ok so I have implemented the script here

https://winscp.net/eng/docs/script_download_timestamped_filename

Which works very well. I have windows scheduler running it daily to a remote server. How do I get this to work with multiple files in the same script?

I have a remote directory with 20 files and I want to automatically download them all running 1 script. While downloading I want to append a timestamp to the file name as the script above does for a single file.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Just repeat the get command for every file you want to download.
_________________
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