cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Does curl support FTPS?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Aug 2006 00:07:51 +0200 (CEST)

On Tue, 8 Aug 2006, Wei Weng wrote:

> I set up a local windows computer with servU server with FTPS support. And
> did a quick curl ftps://192.168.1.227/cache.log, trying to retrieve the file
> cache.log. But I get an error message:
>
> curl (7): couldn't connect to host.

Using 'ftps://' URLs will make curl attempt to connect to port 990.

> However, I can retrieve the file with curl ftp://192.168.1.227/cache.log (so
> the server is there).

Yes, but clearly listening on port 21, so --ftp-ssl is probably what you're
looking for.

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