Topic "Problems with get command"

Author Message
Ziiepe
[View user's profile]

Joined: 2010-03-03
Posts: 1
Hi there.

I'm using autoit to download some folders from our ftp server with winscp.com
So far so good.
But i want to reduce my code a little bit and tried to give all the needed parameters to winscp.com

"c:\program files\winscp\winscp.com" /command "open "root@XXX.xxx.de"" "get "/mnt/foldera/folderb/full/somefile.tgz e:\2010-03-03""

winscp wants to download the file but i get the error "Unknown command 'e:\2010-03-03'

and yes the folder "2010-03-03" is createt.

have i forget some "" or where is my error?

greetings
patrick
Ziiepe(loggedout)

Guest


okey.....another problem.

when the filename i wantet to download or the path to it looks like the following i get also some errors:

"/mnt/500GB/this is the folder/and this the file.gz"

to make i more cleare, i want the whole command getting startet using windows -> run
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
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