thanks for the response!

I have kicked around some different ideas like `ln -s raznoe.shtml.html
index.html' but the thing is, this whole process is an automated process, no
manual intervention. 

How do I always know what exactly that final/main file name will be??
I could be feeding it all different kinds of URLS like....

http://kftcsu09:6060/manual/

http://www.expert.ru

http://www.expert.ru/expert/current/data/raznoe.shtml

http://kftcsu09:6060/index.html

http://www.aljazeera.net/science_tech/2003/9/9-13-1.htm

http://us3.php.net/FAQ.php

http://search.barnesandnoble.com/booksearch/results.asp?WRD=oracle&userid=2V
5SEYEENU&cds2Pid=946

this is were I start running into problems.


Once again, thanks.

I hope there might be someone who already solved this problem and replies to
this.


Pete



-----Original Message-----
From: Hrvoje Niksic [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 12:37 PM
To: Lucuk, Pete
Cc: '[EMAIL PROTECTED]'
Subject: Re: wget renaming URL/file downloaded, how to???


"Lucuk, Pete" <[EMAIL PROTECTED]> writes:

> as we can see above, wget has "raznoe.shtml.html" as the main file,
> this is *not* what I want, I *always* want the main file to be name
> "index.html".

Wget doesn't really have the concept of a "main file".  As a
workaround, you could simply `ln -s raznoe.shtml.html index.html', and
index.html would point to your main file and be available on the web.

Reply via email to