cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: Maxdownload problem & SSH question

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Mar 2007 22:33:51 +0200 (CEST)

On Mon, 26 Mar 2007, thyros_at_op.pl wrote:

> I want to create FTP client that can also supports SFTP and FTPS.

FTPS is plain FTP over SSL, but SFTP is in fact only similar to FTP in concept
and not in protocol.

> So to allow user use SFTP I need to set those *SSH* settings, but do I have
> to do anything else?

Nope, that should be fine.

> For example use "sftp://server/path/" instead of "ftp://..."?

Ah, yes that of course since they are different protocols. For FTPS however,
you most likely should use ftp:// but enable FTP-SSL with the proper libcurl
option.

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