cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTPS works with non FTPS server

From: Kjeld Flarup Christensen <kjeld.flarup.christensen_at_ericsson.com>
Date: Fri, 23 Jan 2009 10:48:32 +0100

Hi

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

* Connected to 172.31.135.6 (172.31.135.6) port 21
< 220 Microsoft FTP Service
> AUTH SSL
< 500 'AUTH SSL': command not understood
> AUTH TLS
< 500 'AUTH TLS': command not understood

* Connected to 172.31.64.61 (172.31.64.61) port 21
< 220 (vsFTPd 2.0.4)
> AUTH SSL
< 530 Please login with USER and PASS.
> AUTH TLS
< 530 Please login with USER and PASS.

--------------------------- With Regards ------------------------
  Kjeld Flarup (Christensen), Specialist, Software Architecture and
Technology
  Ericsson Danmark A/S, PDU MSA
  Faelledvej 17, DK-7600 Struer, Phone +45 9786 9410, Mobile: +45 4029
4149 Fax +45 9785 4422
-----------------------------------| A small but great part of Ericsson
|

-------------------------------------------------------------------
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