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 .