wget with local html file?

December 24th, 2010 - 10:34 am ET by gavinh | Report spam
Suppose I have a local html file g.html

<html>
<body>
<a href="http://www.gnu.org/philosophy/free-...</a>
</body>
</html>


How do I get wget to work with that?

I suppose I could upload the local file, but how else?
email Follow the discussionReplies 6 repliesReplies Make a reply

Replies

#1 Bit Twister
December 24th, 2010 - 10:40 am ET | Report spam
On 24 Dec 2010 16:34:04 +0100, gavinh wrote:

Suppose I have a local html file g.html

<html>
<body>
<a href="http://www.gnu.org/philosophy/free-...</a>
</body>
</html>


How do I get wget to work with that?



Hmm, a bit vague about that statement. Assuming what you have provided
sot far, I will suggest

wget http://127.0.0.1/g.html


I suppose I could upload the local file, but how else?



Now I am confused. wget is used to download items, not upload them.

Similar topics