Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

andegre

In your Windows Task Scheduler, the command that needs to be run should look something like this:

"C:\Program Files\WinSCP\WinSCP.com" /script="yourscript.txt"[/quote]
IanS

automation

I am a total novice here, read (tried to) some of the help files, and am now completely confused.

I need to download a backup of a database twice a week with simple FTP. I have set that up in Windows Tasks (Windows 7), no problem. It starts the winscp application no problem.
but then... I have the script as follows, each command is on a seperate line: User name, password,cd location (which file to look in on the server), lcd location (where to put the downloaded file), prompt, mget xxxxxxx.db, close, quit.

Where do I put this script so that it will actually open winSCP and download the database, and do I need to add/remove bits from it?
the initial session on WinSCP was saved as a default.