|
Script for automatic downloading
Looking for some help creating a script to use with WinSCP on my server, that will automatically download the contents of one entire directory and then delete it contents.
What I have going is I want to make backups of everyones Home Directories and SQL databases, which I already have WHM doing three times a week.
Now I would like WinSCP to log in afterwards, download them locally and then clear the directory.
I've got the basic jist of the script but I'm stumbling with downloading an entire directories contents, verses a single file. And the deleting part.
|