SFTP 5 second break between uploads (answered x)

Advertisement

Vexeli
Joined:
Posts:
3
Location:
Finland

SFTP 5 second break between uploads (answered x)

So bf I send large files to a company with winscp bat script. Basically mput *.tmp and then rename *.xml to alert the companions script to start downloading. But now they say its too much and too quick for their system. They need us to "have a break" between every rename. Few seconds at least. Names and amounts of the files change. How can I add few seconds so that when a file is uploaded and renamed, there is a break bf the next one. I can use powershell/winscp combo if it helps. I am not sure yet if it would also be ok to not rename just send it as .xml and have a break between upload. Would it be easier?
Last edited by Vexeli on 2020-10-06 13:12; edited 1 time in total

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,378
Location:
Prague, Czechia

Re: SFTP 5 second break between uploads

If you can use PowerShell, you can do whatever you want. Just put Start-Sleep between Session.MoveFile calls.

Reply with quote

Advertisement

You can post new topics in this forum