Rachel, here's what I use:


/usr/bin/wget -o /tmp/wget.out -P /dir2/dir2/etc  -nH -N -r
http://www.url.com.au/

Hope you find it useful.

Cheers,
      Craige.

Rachel Polanskis wrote:
> 
> Sluggers,
> Can someone please put me out of my misery?
> 
> I had wget working but I seem to have lost the plot.
> 
> I just want to get the contents of a directory, but I always just
> seem to get nothing.
> 
> It did work once and then I lost the command line I had.
> 
> All I want to be able to do is mirror some files from an ftp server
> to a local directory.
> 
> Can someone please help - I don't want anything fancy, just the files.
> I think I must've blown a brain fuse over this one - I just can't
> get it to work!   Here's what I have so far....   The options I've used
> are the last ones that actually worked, now nothing.....
> 
> Everything works but nothing is downloaded:
> 
> /usr/local/bin/wget --cache=off -l 1 -m ftp://ftp.some.com/pub/files/version4/
> --16:56:49--  ftp://ftp.some.com/pub//files/version4/
>            => `.listing'
> Connecting to ftp.some.com:21... connected!
> Logging in as anonymous ... Logged in!
> ==> TYPE I ... done.  ==> CWD pub/files/version4 ... done.
> ==> PORT ... done.    ==> LIST ... done.
> 
>     0K -> .
> 
> 16:56:53 (902.34 KB/s) - `.listing' saved [1848]
> 
> --16:56:53-- ftp://ftp.some.com/pub/files/version4/
>            => `index.html'
> ==> CWD not required.
> ==> PORT ... done.    ==> RETR  ...
> No such file `'.
> 
> FINISHED --16:56:54--
> Downloaded: 0 bytes in 0 files
> 
> thanks!!!
> rachel
> 
> Rachel Polanskis                 University of Western Sydney, Nepean
> Senior UNIX Admin                PO Box 10, Kingswood NSW 2747
> Systems && Operations            Information Technology Services, Kingswood
> [EMAIL PROTECTED]    Phone: +61 (0247) 360 291
> 
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to