Script with delay between each file transfer

Advertisement

POiver
Guest

Script with delay between each file transfer

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.

Reply with quote

Advertisement

POiver
Guest

Solved

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.

Reply with quote

Advertisement

You can post new topics in this forum