Samuel Hargis <[EMAIL PROTECTED]> writes:

> I've read through the documentation and it says that (if a name
> shows up more than once, the filenames will get extensions '.n')
> Would that be like "index.html" duplicate would be named
> "index.n.html" or "index.html.n"?

The latter.

> Also, how does it handle multiple duplicates, like say 5?

It will create index.html, then index.html.1, then index.html.2, etc.

> wget -P  ~MyUserDirectory/WincraftFolder  -nd -r -l2 -p -np -t3 -T 30 -nv 
>-A.asp,.cfm,.phtml,.shtml,.htm,.html www.wincraftusa.com
>
> There are 6 html files in this domain that kill each other out.  I'm
> trying to get that data, all files with same names without them
> canceling each other out.  I don't care if the names are modified
> when downloaded as long as I get all 6 files.  Can someone please
> assist?

Ouch.  I think I understand what the problem is here.  Wget deletes
the index.html.<n> files because it thinks they're rogue HTML
downloads.  You can work around this bug by including '*.[0-9]' in
your accept list.  For instance:

wget -P  ~MyUserDirectory/WincraftFolder  -nd -r -l2 -p -np -t3 -T 30 -nv 
-A.asp,.cfm,.phtml,.shtml,.htm,.html,'*[0-9]' www.wincraftusa.com

Thanks for the report.

Reply via email to