cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: using libcurl for FTPS

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Thu, 26 Jul 2007 14:43:46 -0600

On Jul 26, 2007, at 2:15 PM, Hanumant Singh wrote:

> Hi I have only recently been introduced to Libcurl . I need to add
> a component to an application , that depends on FTPS. Now the
> applications currently alread uses libcurl for other stuff, , with
> the SSL setting . Can anyone direct me to some tutorial or some
> other type of documentation that illustrates how to do FTPS
> transfers using libcurl. I would really appreciate it

It's no different from FTP, except that the URL is "ftps" instead of
"ftp". Search around Google for information about libcurl and FTP and
you ought to find something.

Well, OK, there is one catch - if you want to connect to an FTP
server and activate SSL, rather than connect to a "real" FTP-SSL
server, then you need to switch the URL scheme to "ftp" and use the
CURLOPT_FTP_SSL option.

Nick Zitzmann
<http://www.chronosnet.com/>
Received on 2007-07-26