Problem with ftp URLs and Passwds

From: Henning Schmiedehausen <barnard@dont-contact.us>
Date: 4 Aug 1996 11:43:28 +0200

[ This is with squid 1.0b16 and 1.0.5 running on Linux and squid 1.x
running on Solaris. ]

When I try to retrieve the URL

ftp://pic:pic@ftp.uni-stuttgart.de/pub/graphics/pictures/sf_fanta/morrill/rowena15.jpg

I can get it with a Netscape Client from the Server but not through a
squid.

Reason for this:

Netscape tries to retrieve

/pub/graphics/pictures/sf_fanta/morrill/rowena15.jpg
from the host
ftp.uni-stuttgart.de as user 'pic' with passwd 'pic'.

and squid tries to retrieve
pub/graphics/pictures/sf_fanta/morrill/rowena15.jpg
from the host
ftp.uni-stuttgart.de as user 'pic' with passwd 'pic'.

Please note the missing leading slash here. The homedir of 'pic' where
the ftpd sets you after connecting is '/pub/graphics/pictures', so the
relative ftp-transfer fails.

If you use

ftp://pic:pic@ftp.uni-stuttgart.de/sf_fanta/morrill/rowena15.jpg

then you can get the picture via a squid cache. But now Netscape fails.

I don't want to start a religious war, which behaviour is correct. But
at least for me it seems strange, that I need two different URLs with
and without cache.

Or is this an FAQ and I should put my foot in my mouth? ;-)

        Ciao
                Henning

-- 
Henning Schmiedehausen       ...side by side in orbit... around a fairer SUN.
barnard@forge.franken.de     http://www.franken.de/users/forge/henning
We try to reproduce each bad bug and to figure out the scope of its malfeasance
-- does this bug merely hang a window, or does it kill an entire app? Does it 
wedge the app server, crash the entire machine, crash all machines in the same
room, shut off the electricity to the building, or run around the parking lot 
letting air out of car tires? -- Melissa Rogers
Received on Sun Aug 04 1996 - 11:38:07 MDT

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