Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Download a web page

Download a web page

Scheduled Pinned Locked Moved C / C++ / MFC
htmlcomtutorial
9 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Daniel1324
    wrote on last edited by
    #1

    Whats the easiest way to download a web page. I dont want to view it. I just want to download to my desktop for example, then I will process it. Like, for instance, I want to download www.mywebpage.com\test.html (just an example) to my desktop.

    R B M R 4 Replies Last reply
    0
    • D Daniel1324

      Whats the easiest way to download a web page. I dont want to view it. I just want to download to my desktop for example, then I will process it. Like, for instance, I want to download www.mywebpage.com\test.html (just an example) to my desktop.

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      Right click on the link, Save Target As... "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

      D 1 Reply Last reply
      0
      • R Roger Wright

        Right click on the link, Save Target As... "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

        D Offline
        D Offline
        Daniel1324
        wrote on last edited by
        #3

        Thanks for the reply. I shouldve said that I need to download it using VC++. I'm not familiar with sockets and it seems simple to do but it may not be.

        1 Reply Last reply
        0
        • D Daniel1324

          Whats the easiest way to download a web page. I dont want to view it. I just want to download to my desktop for example, then I will process it. Like, for instance, I want to download www.mywebpage.com\test.html (just an example) to my desktop.

          B Offline
          B Offline
          bryce
          wrote on last edited by
          #4

          http://www.codeproject.com/internet/webgrab.asp is dead easy to use Bryce --- Publitor, making Pubmed easy. http://www.sohocode.com/publitor

          D 1 Reply Last reply
          0
          • B bryce

            http://www.codeproject.com/internet/webgrab.asp is dead easy to use Bryce --- Publitor, making Pubmed easy. http://www.sohocode.com/publitor

            D Offline
            D Offline
            Daniel1324
            wrote on last edited by
            #5

            Thanks! Great help!

            1 Reply Last reply
            0
            • D Daniel1324

              Whats the easiest way to download a web page. I dont want to view it. I just want to download to my desktop for example, then I will process it. Like, for instance, I want to download www.mywebpage.com\test.html (just an example) to my desktop.

              M Offline
              M Offline
              murali_utr
              wrote on last edited by
              #6

              hi, use CHttpSession,CHttpConnection,CHttpFile. using these class u can able to read the content from the server. It's the easiest way. Have A Nice Day Murali.M

              2 1 Reply Last reply
              0
              • M murali_utr

                hi, use CHttpSession,CHttpConnection,CHttpFile. using these class u can able to read the content from the server. It's the easiest way. Have A Nice Day Murali.M

                2 Offline
                2 Offline
                224917
                wrote on last edited by
                #7

                Did you mean CInternetSession or CHttpSession itself !! greatest thing is to do wot others think you cant :)
                suhredayan@omniquad.com

                M 1 Reply Last reply
                0
                • 2 224917

                  Did you mean CInternetSession or CHttpSession itself !! greatest thing is to do wot others think you cant :)
                  suhredayan@omniquad.com

                  M Offline
                  M Offline
                  murali_utr
                  wrote on last edited by
                  #8

                  Hi, that's CInternetSesssion not CHttpSession. Have A Nice Day! Murali.M

                  1 Reply Last reply
                  0
                  • D Daniel1324

                    Whats the easiest way to download a web page. I dont want to view it. I just want to download to my desktop for example, then I will process it. Like, for instance, I want to download www.mywebpage.com\test.html (just an example) to my desktop.

                    R Offline
                    R Offline
                    Ravi Bhavnani
                    wrote on last edited by
                    #9

                    URLDownloadToFile(). Or you can get crazy and use my Web Resource Provider class. :) /ravi My new year resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups