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

Advertisement

wasted_so_much_time
Guest

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..

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

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"

Reply with quote

Advertisement

You can post new topics in this forum