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

wasted_so_much_time

much appreciated! :D
martin

Re: can someone help with a plain simple get command....

winscp.exe /console /command "option batch abort" "open root:password@192.168.1.11/private/var/root/folder1/" "get file1 c:\Users\me\Desktop\folder2"
wasted_so_much_time

can someone help with a plain simple get command....

Ive spent almost an hour looking and trying a simple get command...

file1 is in folder1 on my iPhone with openssh enabled.
folder2 is on my desktop.

file1 has no extension.
I just want to copy it from folder1 to folder 2.

It works fine if i use the GUI or step through the commands one by one, but if i try to write it on one line, I get get "missing parameter for command "get"."
winscp.exe /console /command "option batch abort" "open root:password@192.168.1.11/private/var/root/folder1/" "get" "file1" "c:\Users\me\Desktop\folder2"
Im pretty sure this is just wrong..