Re: Squid and ftp on dialup

From: O. Matthaei <matthaei@dont-contact.us>
Date: Tue, 25 Jan 2000 15:04:14 +0100

----- Original Message -----
From: Henrik Nordstrom <hno@hem.passagen.se>
To: Luca Micheletti <lucam@softeam.it>
Cc: <squid-users@ircache.net>
Sent: Friday, January 21, 2000 11:27 PM
Subject: Re: Squid and ftp on dialup

> Luca Micheletti wrote:
>
> > If i make ftp with browser there are no problem(but i can't make put
etc..)
>
> You can put files if you use Netscape. It does not seem to be
> implemented in Microsoft IE.

Yeah, but how ?

>
> > But i can't make ftp with a client ftp with non anonymous
authentication.
> >
> > Is this possible????
>
> Squid only supports HTTP clients, not ftp clients.
>
> The syntax for FTP urls is
>
> ftp://[user[:password]@]server[/path/to/file][;type=d|;type=i|;type=a]
>
> Non-anynymous FTP is established by supplying at least the user@ in
> front of the server name. If using IE then the password must also be
> specified (IE does not seem to understand how to handle HTTP
> authentication on FTP URL's).
>
> The type= argument specifies the transfer mode to perform. d ==
> directory, i == image (binary) and a == ascii. If transfer mode isn't
> specified then Squid will use heuristics from mime.conf.
>
> So for example given the extreme example of
>
> ftp://henrik:topsecret@ftp.example.com/path/to/file;type=i
>

Thatīs working fine. But this is the way to get something.
You donīt write how to put something ...

> Is roughtly equivalent to
>
> FTP to the server ftp.example.com
> Username henrik
> Password topsecret
> cd path
> cd to
> binary
> get file
>
> --
> Henrik Nordstrom
> Squid hacker
>

Best regards

Olaf Matthaei

--
GfI
Gesellschaft für Information und
Datenverarbeitung
matthaei@narz.de
Tel. : 0421/5762 115
Fax : 0421/5762 299
Received on Tue Jan 25 2000 - 11:39:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:41 MST