cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP via FTP PROXY

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Jul 2008 10:13:28 +0200 (CEST)

On Tue, 1 Jul 2008, Norbert Novotny wrote:

> 2. having special FTP proxy server (something like a trojan horse)
> 3. the ftp proxy is a ftp server listening on 21
> 4. connecting to the destination Internet ftp server using "USER
> login_name_at_Internet_ftp.server"
> 5. This will open a channel and handout the connection to your local client.
> 6. followed by std. ftp commands e.g. PUT GET QUIT
>
> I suspect this is not yet in the cURL as it tries to go via HTTP
> proxy/connection only, where this is not the case.

So skip the proxy part and simply craft up your own URL that makes it use this
proxy of yours! As said, there's no such thing as a standard FTP proxy and we
know of perhaps 10 different appraoches ftp proxies in the wild use.

BTW, the "std. ftp commands" are not called PUT or GET outside that ftp client
of yours. Those commands are translated to the actual FTP commands that are
actually called STOR, RETR and so on...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-07-02