Topic "Script with delay between each file transfer"

Author Message
POiver

Guest


I have a WinSCP script called from a Windows scheduled Batch file, which down loads from FTP to local folder seven files, one after each other, but I am now being told the files are coming down to fast for the system to process. I dont really want to create seven schedules with seven scripts (one for each file). Is there anyway to inject a 5 min delay in the script between each GET command? Or telling WinSCP to wait for the last file to disappear in the target folder before doing the next GET.
POiver

Guest


I have just transfered one file then "Exit" the WinSCP script and back in the batch used the the Timeout command, then launched WinSCP again to get the second file... and repeated the same until all seven files completed.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
POiver wrote:
I have just transfered one file then "Exit" the WinSCP script and back in the batch used the the Timeout command, then launched WinSCP again to get the second file... and repeated the same until all seven files completed.

You may find this example useful for your solution:
https://winscp.net/eng/docs/script_upload_multiple_servers
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