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

PaddyCJ

Re: Scheduled download

Thanks a lot Prikryl that worked like a charm :D
PaddyCJ

Re: Scheduled download

Thanks I'll give it a go.
martin

Re: Scheduled download

The first argument to get is remote path to download files from. Also if TestP-CardsIn is local folder, you need to terminate the path with backslash:
"get /remote/folder/to/download/files/from/* P:\TestP-CardsIn\"
PaddyCJ

Scheduled download

Hi All,

I'm quite new to this so please bear with me.

I've hashed together a script that script that is meant to connect to a secure FTP site, I've created a session and used that to open the connection via WINSCP.COM but the files do not download to the desired location.

Here's the command that I'm using;
winscp.com /command "open ""P-CARDS""" "GET ""P:\TestP-CardsIn""" /log="P:\TestP-CardsLog\WinSCPLogs\winscp.log" "exit"

I'm hoping to later on setup this up as a scheduled task as it will need to download a new file daily.

Any help would be appreciated.

Thanks