cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Compatibility flag for SecureTransport FTPS

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Mon, 24 Jul 2006 15:50:15 -0500

In the last episode (Jul 23), Daniel Stenberg said:
> On Fri, 21 Jul 2006, Dan Nelson wrote:
>
> >>If you update your patch to my two comments, I'll be willing to commit.
> >
> >Ok, how about the attached patch. The flag is now
> >CURLOPT_FTP_ALTERNATIVE_TO_USER, and takes a string argument.
>
> Thanks, but I'd still want it to be sent only if USER+PASS fail so
> that you can easier support both the weirdo Tumbleweed servers as
> well as other servers with (pretty much) the same application code.

Okey.. new patch attached :) This one uses a new state variable
ftp_trying_alternative to loop through the FTP_USER state twice (only
if CURLOPT_FTP_ALTERNATIVE_TO_USER is set of course).

-- 
	Dan Nelson
	dnelson_at_allantgroup.com

Received on 2006-07-24