question

2003-12-03 Thread Danny Linkov
Hello,
I'd like to download recursively the content of a web
directory WITHOUT AN INDEX file.
The directory content if generated by the server.
How can I do that ?
I use wget 1.8.2 for windows.
Thank you.

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


Re: question

2003-12-03 Thread Tony Lewis
Danny Linkov wrote:

> I'd like to download recursively the content of a web
> directory WITHOUT AN INDEX file.

What shows up in your web browser if you enter the directory (such as
http://www.somesite.com/dir/)?

The most common responses are:
* some HTML file selected by the server (often index.html, but not always)
* an HTML listing of the directory contents generated by the server
* a 403 Forbidden response

In the first two cases, you can use:

 wget http://www.somesite.com/dir/ --mirror

In the third case, you cannot grab the entire directory using wget. You will
have to construct a list of filenames in a file and then use:

wget --input-file=FILE

Note that the files that are retrieved in this fashion will appear in the
current directory.

Hope that helps. By the way, there is a newer version of wget available
(although my answer is the same for 1.8.2 and 1.9).

Tony