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

martin wrote:

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\"


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

Re: Scheduled download

martin wrote:

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\"


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.

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

Heres the command that Im using;

winscp.com /command "open ""P-CARDS""" "GET ""P:\TestP-CardsIn""" /log="P:\TestP-CardsLog\WinSCPLogs\winscp.log" "exit"

Im hoping to later on setup this up as a scheduled task as it will need to down load a new file daily.

Any help would be appreciated.

Thanks