Thread: save html file

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    25

    save html file

    hey, i am trying to save a html source file. How can this be done. thanks.

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Save it from where???

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    25
    from the net. for example Allocator | Define Allocator at Dictionary.com , take this address and save it to file.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Terms to Google:

    web scraping
    libcurl

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    25
    tried to install curl, but couldn't find how to install it.
    i got vs6.

    btw, any other options on getting a web page to a file?

  6. #6
    Registered User
    Join Date
    Jun 2010
    Location
    Michigan, USA
    Posts
    143
    Quote Originally Posted by *nick View Post
    ...
    btw, any other options on getting a web page to a file?
    For the browsers, I happen to have available:

    Internet Explorer 8-->File (on Menu)-->Save As...
    Safari 5.0.1-->"Display a menu for the current page" Icon-->Save As

    Are you trying to store the HTML or the image?

    Edit: Remember: Web pages are almost always copyrighted material. Do not reuse without the copyright holders permission or if your use falls under the "fair use" (Search for a explanations).
    Last edited by pheininger; 08-25-2010 at 04:02 PM.

  7. #7
    Registered User
    Join Date
    Jan 2010
    Posts
    25
    well in need to parse the html file for some info so saving manually is not what i need. So far I been fussing with curl libraries but keep getting that different dll are missing. no clear instruction how to install it. I have tried it on VS 2008. the latest dll that is missing is coredll.dll, but it seems every time I find what is missing it will ask me for another one. So is there another library that is more clearer to use. anyone uses curl in VS? i can switch to devcpp too.

  8. #8
    Registered User
    Join Date
    Aug 2010
    Posts
    231
    On MSVC have a look at URLDownloadToFile

  9. #9
    Third Eye Babkockdood's Avatar
    Join Date
    Apr 2010
    Posts
    352
    I think you got the wrong forum. To view your HTML, open the source file with a browser. To edit the source, open the source file with a text editor. I use Wordpad.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. disposing error
    By dropper166 in forum C# Programming
    Replies: 2
    Last Post: 03-30-2009, 11:53 PM
  2. Totally confused on assigment using linked lists
    By Uchihanokonoha in forum C++ Programming
    Replies: 8
    Last Post: 01-05-2008, 04:49 PM
  3. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  4. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM