curl-users
Re: FTPS works with non FTPS server
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 Jan 2009 12:52:17 +0100 (CET)
Date: Fri, 23 Jan 2009 12:52:17 +0100 (CET)
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.htmlReceived on 2009-01-23