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

martin

Full example of command line you are using would help.
Though you seem to combine operations command-line parameters with scripting.
What are you trying to do?
Vivi

Hi Martin,

while running command line parameters, the upload works fine. (unable to use /defaults though)
But when i try to use scripting/commands as "open user:pass@ip" it reads "open user" as the session name and throws an error. Am i missing something trivial here
martin

Re: /defaults option not working on command line

The weird dialog actually explains you what's wrong. You cannot use URL-like session specification (e.g. sftp://user@server) together with /detauls.

Nevertheless using WinSCP tike this from scheduler can hardly work reliable. Use scripting instead. This FAQ may help you.
rch

/defaults option not working on command line

when entering /defaults at end of command line winscp scp string get weird windows dialog error message about including URL and after clicking that off session runs but dialog to copy appears anyway as if in gui session.. Other than that the command line for scp with multiple files works..

with popup dialog though would not be able to run via windows scheduler of course which is main problem..