cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: libcurl and libssh2

From: Xu, Qiang (FXSGSC) <Qiang.Xu_at_fujixerox.com>
Date: Fri, 16 Oct 2009 14:31:34 +0800

> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se
> [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Michael Wood
> Sent: Tuesday, October 13, 2009 5:24 PM
> To: libcurl development
> Subject: Re: libcurl and libssh2
>
> See the "-Q" option in the curl man page and try it with the
> "--libcurl" option.

I want to delete the file ~/scan/test.txt, but:
===================================================
qxu@durian(pts/1):~/opensrc/curl-7.19.6/src[110]$ ./curl -v -u qxu:fair123 -Q rm sftp://13.198.98.190/~/scan/test.txt
* About to connect() to 13.198.98.190 port 22 (#0)
* Trying 13.198.98.190... connected
* Connected to 13.198.98.190 (13.198.98.190) port 22 (#0)
...
* Initialized password authentication
* Authentication complete
* Sending quote commands
* Syntax error in SFTP command. Supply parameter(s)!
* Connection #0 to host 13.198.98.190 left intact
curl: (21) Syntax error in SFTP command. Supply parameter(s)!
* Closing connection #0
===================================================
Anything wrong in the parameter to the option -Q?

Thanks,
Xu Qiang
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET