curl-library
RE: libcurl and libssh2
Date: Tue, 13 Oct 2009 18:00:20 +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.
Here is what I get from man page:
===================================================
-Q/--quote <command>
(FTP) Send an arbitrary command to the remote FTP server. Quote
commands are sent BEFORE the transfer is taking place (just
after the initial PWD command to be exact). To make commands
take place after a successful transfer, prefix them with a dash
'-'. To make commands get sent after libcurl has changed working
directory, just before the transfer command(s), prefix the com-
mand with '+'. You may specify any amount of commands. If the
server returns failure for one of the commands, the entire oper-
ation will be aborted. You must send syntactically correct FTP
commands as RFC959 defines.
This option can be used multiple times.
===================================================
But since SFTP is not FTP, can this option be used in SFTP transfer?
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-13