cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Implicit SSL connections doesn't works

From: Abel Alonso <abelalon_at_gmail.com>
Date: Mon, 3 Sep 2007 10:20:38 +0200

>
>
> Please use diff -u so that we can apply it easier in our ends.

Sorry... I paste the diff -u

--- oldftp.c 2007-08-30 16:03:10.234375000 +0200

+++ ftp.c 2007-09-03 09:32:55.421875000 +0200

@@ -2584,16 +2584,16 @@

2)Private (requested by 'PROT P')

*/

- if(!conn->ssl[SECONDARYSOCKET].use) {

+ //if(!conn->ssl[SECONDARYSOCKET].use) {

NBFTPSENDF(conn, "PROT %c",

data->set.ftp_ssl == CURLFTPSSL_CONTROL ? 'C' : 'P');

state(conn, FTP_PROT);

- }

+ /*}

else {

result = ftp_state_pwd(conn);

if(result)

return result;

- }

+ }*/

break;

> I check the code right now, and have you tried setting the CURLOPT_FTP_SSL
> (currently renamed to CURLOPT_USE_SSL) option? See lib/url.c:1733 in
> current
> CVS.

I've just tried that and it doesn't work. With the diff I'm sending you work
all kinds of ftp over SSL connections, but I agree with you, "my patch" is
not acceptable.

If you need something else, please ask me for it.

Kind Regards.
Received on 2007-09-03