cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP via FTP PROXY

From: Norbert Novotny <norbert.novotny_at_gmail.com>
Date: Wed, 2 Jul 2008 10:48:33 +0200

Many thanks for the help, good advise, I think 'm getting closer together
with a netrc I think it could work ...

The commands, of course, you're right.

N.

2008/7/2 Daniel Stenberg <daniel_at_haxx.se>:

> 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
>

-------------------------------------------------------------------
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