Re: Implicit SSL connections doesn't works
Date: Wed, 5 Sep 2007 10:28:26 +0200
> That was totally broken formatting. Please attach it instead so perhaps
> mail client won't butcher it.
I apologize for this issue I attach the ftp.patch file with the exit of
execute an diff -u. I use the snapshot of the July 31th (7.16.5 version).
In what way doesn't it work? Isn't that kind of approach still the better
> to make the FTPS code as generic as possible ?
I attach three cpp files with the code I use to connect to a server using
ftp over SSL. I describe you the result achieved with each execution.
The ftpsImpl.cpp file contents the code I use for implicit ftps connections.
This code only works with my patch. Without my patch it doesn't work and
throw me an CURLE_SSL_CONNECT_ERROR. I try to connect to an Filezilla server
I've upload on my localhost and I also attach the exit it generate for the
-FTPS implicit with my patch (mypatch.txt). It works well.
-FTPS implicit with July 31th curl snapshot (July.txt). It doesn't work.
-FTPS implicit with September 3rd (September.txt). It doesn't work.
If to the ftpsImpl.cpp code I add the following line:
curl_easy_setopt( curl, CURLOPT_FTP_SSL, CURLFTPSSL_ALL );
I get the following:
-FTPS implicit with my patch (mypatchOPT.txt). It doesn't work.
-FTPS implicit with July 31th curl snapshot (JulyOPT.txt). It doesn't work.
-FTPS implicit with September 3rd (SeptemberOPT.txt). It doesn't work.
The ftpsSSL.cpp is the code I use to make explicit ftps connections over
SSL. It works with all curl versions I commented below. ftpsTLS.cpp is the
file which contents the code I use to make ftps connections over TLS and it
also works without problems.
- application/zip attachment: curlFTPSIssues.zip