Thought a little more about this issue.

The convert-links option is what is appending index.html to all the URL's that end in a directory to the web pages I'm downloading. I need to use this option to strip the information about the original web server I'm creating the mirror from.

However, if the convert-links option could be made somehow (via command-line option, whatever) to not append that index.html file name onto the end of the URL's, that would be a better work-around.

I consider it a work-around because the file created on the file system would still be called index.html. But, this wouldn't be as readily apparent to user's of the mirror.

And, it would be fairly easy to after downloading your mirror and before uploading, run a script to change file names for those you know should be changed. This is my circumstance, I imagine some other people would have to investigate a little more to find out what file names should be changed after they download every time.

I don't know if this is easier than creating a file name based on the Content-type header in the wget sources.

Also, the convert-links option is documented to be making it easy to view web pages on local filesystems. Which isn't exactly how I'm using it, or discussing using it in this message.

--
Levander's Yabbering!
http://home.mindspring.com/~levander

Reply via email to