Topic "Automatic download at x time and delete all files afterwards"

Author Message



I'm sorry if this question has been asked before, I couldn't find it.

Our webserver backups our site and puts it in a directory on the webserver in the /backup directory.

With WinSCP I want to connect every night at a certain time and automatically download the complete content from this /backup directory and store it on my NAS, which has been mapped to a local drive letter x:. After succesful downloading, I want to empty the /backup directory completely.

Can someone please help me with a complete example?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Please read documentation:

If that does not help, come back.
Martin Prikryl

You can post new topics in this forum


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