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

Author Message


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@" "get" "file1" "c:\Users\me\Desktop\folder2"

Im pretty sure this is just wrong..
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26331
Location: Prague, Czechia
winscp.exe /console /command "option batch abort" "open root:password@" "get file1 c:\Users\me\Desktop\folder2"
Martin Prikryl


much appreciated! Very Happy

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License