Re: hdlist - unable to read header list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Aug 2004 Rebecca.R.Hepper@xxxxxxxxxxx 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



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux