Topic "winscp.com get ?"

Author Message
Guest




I simply want to download some files to a specified local directory but am doing something wrong. See below.

Thanks, Mike

Code:
>>winscp.com user:password@sftp.example.com:22 /console /command "option confirm off" "cd dev/backup" "get ./* c:\download"
Searching for host...
Connecting to host...
Authenticating...
Using username "user".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] user@sftp.example.com
confirm         off
/dev/backup
backup-mmm-20120228-0125 |          0 KiB |    0.0 KiB/s | binary |   0%
'c:\download' is not file!
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
Someguy

Guest


Try adding a slash behind "download", like this:
c:\download\
Guest




Thank you. That was it.
Mike
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