View Full Version : Resolved Given URL, capture HTML source from command line

07-16-2009, 07:32 PM
In, for example, Internet Explorer, you can view the html source code by right-clicking and then selecting the option "View Source". This results in an editor, such as Notepad, opening showing the html source code.

My question is this: Given the URL, is there a way from a command line shell to send the HTML source code to a file?

Thanks for your help.

07-16-2009, 07:59 PM
GNU Tools wget (http://www.gnu.org/software/wget/). Windows version of wget.

07-17-2009, 09:22 AM
Thanks much. Wget does exactly what I want.