cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sftp support in libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Nov 2007 22:31:14 +0100 (CET)

On Fri, 9 Nov 2007, Wei Weng wrote:

> Is the SFTP referred by curl_easy_setopt manual page "FTP Options
> CURLOPT_QUOTE" SSH file transfer protocol or Simple File Transfer Protocol?

The SSH one. I don't think Simple File Transfer Protocol is in much use
anywhere...

> The page says "The valid SFTP commands are: chgrp, chmod, chown, ln, mkdir,
> pwd, rename, rm, rmdir, symlink.". I searched through the draft SSH file
> transfer protocol rfc, but couldn't find anything related to that. That is
> why I am asking the question. :)

I believe we've taken some inspiration and ideas from OpenSSH in that we use
the command names they use.

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:

         http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-11-09