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

Guest

Re: Automating these couple of steps

Anonymous wrote:

Spagnot wrote:

Spagnot wrote:

I very new to WinSCP. I don't know much about writing scripts or batch files but I am needing help doing the steps in the attached file. I can probably set up a Scheduled task to run this M-F at 5:35 PM PST daily.

Any help is appreciated thanks.


I figured it out people. Nevermind!
winscp.exe /console /command "option batch on" "open ftp://USERNAME:PASSWORD@ftp-www.earthlink.net/webdocs/data" "get me1.xls C:\Users\Person\Desktop\scp\me1.xls" "exit"


I was wondering if anyone knew the commands to reverse this? To pick up a file locally and send it to the ftp site?

I figured it out:
winscp.exe /console /command "option batch on" "open ftp://USERNAME:PASSWORD@ftp-www.earthlink.net/webdocs/data" "put C:\Users\Person\Desktop\scp\me1.xls" "exit"
Guest

Re: Automating these couple of steps

Spagnot wrote:

Spagnot wrote:

I very new to WinSCP. I don't know much about writing scripts or batch files but I am needing help doing the steps in the attached file. I can probably set up a Scheduled task to run this M-F at 5:35 PM PST daily.

Any help is appreciated thanks.


I figured it out people. Nevermind!
winscp.exe /console /command "option batch on" "open ftp://USERNAME:PASSWORD@ftp-www.earthlink.net/webdocs/data" "get me1.xls C:\Users\Person\Desktop\scp\me1.xls" "exit"


I was wondering if anyone knew the commands to reverse this? To pick up a file locally and send it to the ftp site?
Spagnot

Re: Automating these couple of steps

Spagnot wrote:

I very new to WinSCP. I don't know much about writing scripts or batch files but I am needing help doing the steps in the attached file. I can probably set up a Scheduled task to run this M-F at 5:35 PM PST daily.

Any help is appreciated thanks.


I figured it out people. Nevermind!
winscp.exe /console /command "option batch on" "open ftp://USERNAME:PASSWORD@ftp-www.earthlink.net/webdocs/data" "get me1.xls C:\Users\Person\Desktop\scp\me1.xls" "exit"
Spagnot

Automating these couple of steps

I very new to WinSCP. I don't know much about writing scripts or batch files but I am needing help doing the steps in the attached file. I can probably set up a Scheduled task to run this M-F at 5:35 PM PST daily.

Any help is appreciated thanks.