cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP via FTP PROXY

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 1 Jul 2008 19:54:48 -0700

On Tue, Jul 01, 2008 at 04:23:13PM +0200, Norbert Novotny wrote:
> I have tried to send file via FTP_PROXY using the latest curl build 7.18.2, but
> no luck.
> The setup:
> 1. behind corporate FW
> 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.
>
> Can you confirm? ... or is there a trick how to get around a such FTP server.
> FYI, the WS_FTP does handle this.

Right, curl doesn't handle ftp proxies; there isn't any standard for them
(that I'm aware of). curl *does* handle ftp sessions through http proxies,
on the other hand.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
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