cURL / Mailing Lists / curl-users / Single Mail

curl-users

--early-ssl vs --late-ssl for passive ftp-ssl and ftps

From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 15 Sep 2005 14:04:39 +0200

Hi,

Version 1.4.1 has introduced a documented change to the ftp.c file
which affects ftp-ssl and ftps passive modes. Its purpose was to make
the SSL/TLS negotiatiation immediately after the TCP data connection
is done, instead of doing the SSL/TLS for the data connection once
some commands have been sent over the control conecction.

It seems that this change was introduced because at least one ftp
server required this "early SSL" to be able to establish a proper
connection.

The fact is that this change also at least breaks the connection of
curl with other ftp server which requires the "late SSL" which has
existed up to version 1.14.0

It would be nice if we could give curl an option called
"--early-ssll", or something similar, to force the "early SSL" and by
default use the one which existed up to version 1.4.0. Or maybe the
other way round.

Can this be achieved easily ?
Received on 2005-09-15