hdlist - unable to read header list
Philip Rowlands
phr at doc.ic.ac.uk
Thu Aug 19 11:07:51 UTC 2004
On Thu, 19 Aug 2004 Rebecca.R.Hepper at seagate.com wrote:
>wget --debug ftp://10.2.x.x/var/redhat.disks/redhat-9.0/RedHat/base/hdlist
[snip]
>--> PWD
>
>257 "/" is current directory.
[snip]
>Prepended initial PWD to relative path:
> old: 'var/redhat.disks/redhat-9.0/RedHat/base'
> new: '/var/redhat.disks/redhat-9.0/RedHat/base'
>==> CWD /var/redhat.disks/redhat-9.0/RedHat/base ...
>--> CWD /var/redhat.disks/redhat-9.0/RedHat/base
>
>550 /var/redhat.disks/redhat-9.0/RedHat/base: No such file or directory.
>Why isn't there a / before the var directory?
FTP servers don't have to log you straight into "/", or even a fake
chroot-ed "/". So wget takes the combination of the reported login
directory ("/" in this case), and the directory given in the URL
("var/redhat.disks/redhat-9.0/RedHat/base"), sticks them together and
tries to cd to /var/redhat.disks/redhat-9.0/RedHat/base, which fails.
Are you sure the FTP server is set up and working properly for that
directory structure?
Cheers,
Phil
More information about the Kickstart-list
mailing list