cURL / Mailing Lists / curl-library / Single Mail


Re: About FTP authentication

From: Daniel Stenberg <>
Date: Sun, 13 Jun 2004 10:09:13 +0200 (CEST)

On Sat, 12 Jun 2004, Daniel Campos wrote:

> 1) Authentication: curl, working with HTTP, supports plain, NTLM, etc
> authentication methods. These methods apply also for FTP?


> I've made some tests and curl seems to simply send user name and password
> even if I change authentication option (except for AUTH_NONE, in that case
> seems to send simply 'anonymous', is this true?)

Original FTP only has one way to send user+password and that is in plain text.

Other ways to authenticate over FTP that libcurl supports is using kerberos4
or SSL.

> 2) Proxies : As I've read in the curl docs, it seems that proxies are always
> working using HTTP protocol (except SOCKS), I think FTP through Proxy is
> encapsulated in HTTP, is this true?

Yes, most often. Some HTTP proxies are setup to allow you to tunnel through it
even when doing FTP traffic, and then you can indeed use FTP stuff thru the
proxy (you'll seed to set the proxytunnel option for this). This is rare

     Daniel Stenberg -- --
      Dedicated custom curl help for hire:
Received on 2004-06-13