[lug] wget question

D. Stimits stimits at idcomm.com
Mon Jun 3 11:16:24 MDT 2002


...
> >   wget -O - ftp://user:mypasswd@machine1/../README
> > --10:05:02--  ftp://user:xxxxxxxx@machine1:21/README
> 
> The two above are the same thing, except for the null operation of "cd
> ..". The null operation I believe is returning a message that wget takes
...

One expansion on this...the ".." is a null operation if you are at the
virtual root of the filesystem. I believe the ftp operation via wget
without the "//" in front tells the system that the home directory (of
the syntax used above) is the virtual root, even if it isn't the real
root of the filesystem as a whole.

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list