Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

Griff

All right, I didn't realize that the "option batch on" is part of the commands! :mrgreen:

WinSCP3.com [login info] /command "option batch on" "option confirm off" "put *.EPS" "close"

works just fine.
Griff

Using command line version with option batch on

Hi there

I'm trying to use WinSCP3 from the command line. I do not want to use the /script parameter unless I have to, because I'm discovering files I need to SCP on the fly, and my code calls WinSCP3 like so:

WinSCP3.com [the server info, which I edited out] /command "put TEST1.EPS"

That works fine. However, I need to use the option batch on and option confirm off switches as well. Can I do that straight from the command line, or do I have to use a script? That would be inconvenient because I'll have to build the script on the fly, too, won't I? I tried it from the command line, like so:

WinSCP3.com [the server info, which I edited out] option batch on option confirm off /command "put TEST1.eps"

but I still get the prompt.