Kristian Sørensen
11/10/2003 10:45:00 PM
Hi, thanks for your answer :)
I saw the below part, but was not clear enough in my question:
- Internet browsers is able to use e.g. regular squid proxy to make ftp
connections. That was what I was after. It isn't too many places a socks
server is available (not that I know of anyway ;)
Is it possible to do something like the browsers, without socks?
gabriele renzi wrote:
> il Mon, 10 Nov 2003 22:36:35 +0100, Kristian Sørensen <ks@cs.auc.dk>
> ha scritto::
>
>
>>
>>Hi!
>>
>>Is it possible to download files from an ftp-server through a
>>proxy-server, in a ruby-script? If so, do you have an example or url to
>>api specification?
>
>
> from the pickaxe's doc for Net::FTP
>
> aSession.connect( host, port=FTP_PORT )
>
> Establishes an FTP connection to host, optionally overriding the
> default port. If the environment variable SOCKS_SERVER is set, sets up
> the connection through a SOCKS proxy. Raises an exception (typically
> Errno::ECONNREFUSED) if the connection cannot be established
>
>
>
>
>>Cheers, Kristian.
>
>