Re: sftp support in libcurl
Date: Sat, 10 Nov 2007 10:33:28 +0100 (CET)
On Fri, 9 Nov 2007, Wei Weng wrote:
>> But the commands are indeed in the "standard" (quotes since it is not yet
>> an RFC). The most recent draft I can find is here:
> This comment "confirmed" with my suspicion. :)
> SFTP is a binary protocol, so we don't send text commands to the server.
> Instead, we scan for commands for commands used by OpenSSH's sftp program
> and call the appropriate libssh2 functions.
> IMHO, it would much clearer if we can *also* send binary command (e.g.
> CURLOPT_SFTP_CMD_CHGRP, CURLOPT_SFTP_CMD_CHOWN) as part of the API,
Feel free to write down a suggestion on how this would work and post it here
for discussion. I don't quite see how these two suggested options would
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-11-10