curl-library
Re: ftps
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 2 Apr 2004 08:29:26 +0200 (CEST)
Date: Fri, 2 Apr 2004 08:29:26 +0200 (CEST)
On Thu, 1 Apr 2004, stefano federici wrote:
> I would be really grateful if someone will give me a short example of how to
> use libcurl to perform FTPS (with user and password) to send a file to an
> FTPS server.
Start with the ftpupload.c example and:
set CURLOPT_FTP_SSL
set CURLOPT_USERPWD
*bing* Doing FTPS is very similar to FTP, you just have to tell it to upgrade
the connection to SSL usage. If you want a SSL connection from the start, you
use a ftps:// connection - but that is not the prefered way to do it - if I've
understood the drafts correctly.
When you end up with a working FTP SSL example source, I would be interested
in it! ;-)
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-04-02