curl-library
Re: ftps using curl to filezilla server
Date: Tue, 10 Oct 2006 10:07:11 +0200 (CEST)
On Tue, 10 Oct 2006, Armel Asselin wrote:
> for some reason, libcurl ftps expects data connection to be encrypted
> without telling PROT P, but FileZilla expects the contrary.
libcurl does so becuase that's how I've interpreted the docs/specs and that's
how other servers work(ed).
ftps:// should not be used anyway since it isn't standardized and is likely to
never work fine all over, no matter how hard we try.
> the technic is to use simple ftp:// then upgrade with PROT P, and there it
> works. in fact from what I could read here and there, implicit protection
> (ftps) is rather obsolete, however, like you, I would have found that cool
> to have this works directly [one way could be to send PROT P unconditionnaly
> in ftps mode, it would not be understood by very old ftp implemtentations
> other SSL, and would be by newer ones, which consequently would make the
> server and libcurl expect the same thing]
I wouldn't mind that.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-10-10