Automating these couple of steps

Advertisement

Spagnot
Guest

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.

winscp.png

Reply with quote

Advertisement

Spagnot
Guest

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"

Reply with quote

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?

Reply with quote

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"

Reply with quote

Advertisement

You can post new topics in this forum