Topic "Delay Between File Upload?"

Author Message
[View user's profile]

Joined: 2016-09-04
Posts: 1

Is it possible, with scripting, to upload one file, delay 1 hour, and then upload another file? I have a list of about 170 files I want to upload using that algorithm.

Can someone advise how to script this?

Thank you,
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
It easy to script this in PowerShell.

Just use the Get-ChildItem cmdlet to find the files. And then loop the list, uploading the files one by one using WinSCP .NET assembly method Session.PutFiles, waiting between the uploads using the Start-Sleep cmdlet.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License