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

Author Message
wasted_so_much_time

Guest


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..
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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"
_________________
Martin Prikryl
wasted_so_much_time

Guest


much appreciated! Very Happy
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License