curl-users
Re: FTPS help
Date: Tue, 16 Aug 2005 22:12:42 +0200
Hi Daniel,
This is fantastic!! I can't believe it, but you did it!
The only thing, I had to comment out was the original SSL handshake
after the command was accapted by the server.
starting on line 3923 - in lib/ftp.c
/* %NN
    if(conn->ssl[SECONDARYSOCKET].use) {
      infof(data, "Doing the SSL/TLS handshake on the data stream\n");
      result = Curl_ssl_connect(conn, SECONDARYSOCKET);
      if(result)
        return result;
    }
*/
Many thanks, that was a great work.
If you are interested, I'll send you the complete diff between the
original (7.14.0) and this patched working version, with all changes
in it.
Also, I have to mention it here, I am not a 100% convinced that the
developers of the FTP server side did comply 100% with RFC2228. This
yet to be investigated, by FTP server administrators. Reson, why I am
filled with scepticism here, is the fact that I had installed other
FTPS client recomanded by the vendor of the server side (C-Kermit 8.0)
which had failed exactly on the same spot.
Anyway,
 Many thanks,
 Norbert
On 8/16/05, Daniel Stenberg <daniel-curl_at_haxx.se> wrote:
> On Tue, 16 Aug 2005, Norbert Novotny wrote:
> 
> > yes that would just fantastic!! Of course, I have no problem to tested at
> > all.
> 
> Ok, a first patch to try is attached here. This should do the SSL negotiation
> for the data connection just after a successful connect after PASV.
> 
> I don't have any ftps servers around so I haven't been able to test this
> myself (and there are no tests in the test suite for ftps).
> 
> --
>  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
> 
>
Received on 2005-08-16