Posted: 2015-09-18 18:03
I am wondering if there is away to delay(wait or sleep ) in winscp. I uploading 8 files in the same locations but I have to wait about 45 sec to 1mn between files otherwise the receiving location will merge the files into one.
Now I do not want to write 8 different scripts to do the upload. i am using just one script something like this below
# Connect to SFTP server using a password
#upload file 1
put -nopermissions -nopreservetime C:\temp\file1.* /incoming/location/
#upload file 2
put -nopermissions -nopreservetime C:\temp\file2.* /incoming/location/
#upload file 3
put -nopermissions -nopreservetime C:\temp\file3.* /incoming/location/
#and so on .... until I put all files
really the question is how can I delay the upload between these files in winscp using just one script .
Location: Prague, Czechia
You can use a parametrized script.
(It's for multiple servers, in your case, it's multiple files).
You can post new topics in this forum
And it's free!