cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: FTPS works with non FTPS server

From: Kjeld Flarup Christensen <kjeld.flarup.christensen_at_ericsson.com>
Date: Fri, 23 Jan 2009 13:07:31 +0100

Hi Daniel

I just realized that the Linux machine I made the command line on was
using an older version of curl not supporting --ftp-ssl-reqd
Changing to another machine helped, so now I'll have to find the reqd
option in the library too.

  Thanks :-)

/// Kjeld

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: 23. januar 2009 12:52
To: the curl tool
Subject: Re: FTPS works with non FTPS server

On Fri, 23 Jan 2009, Kjeld Flarup Christensen wrote:

> As we were testing FTPS we discovered that FTPS works with FPT servers

> not supporting FTPS. As it can be seen from the snippets below, curl
> ignores that the server cannot speak SSL and aparantly falls back to
> plain unencryptet FTP. Bug or feature?
>
> Is there a way to make curl insist on using ssl. My example here is
> just for the command line. We actually are using the library
interface.
>
> curl -v --ftp-ssl -l --user ftpuser:ftpuser ftp://172.31.135.6

Did you try reading the man page?

It includes several related --ftp-ssl commands, and I think you're
looking for --ftp-ssl-reqd.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-23