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. Copying HTML page along with the images from it.

Copying HTML page along with the images from it.

Scheduled Pinned Locked Moved C / C++ / MFC
htmljsonquestion
2 Posts 2 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.
  • S Offline
    S Offline
    Sameer_Thakur
    wrote on last edited by
    #1

    Hi all. In my application I am trying to copy an html page from one temp location to another location specified by user. I am using CopyFile() API to copy html pages. But I need to explicitly carryout the image copying along with the .html page copying. I also tried using SHFileOperation API but it also doesn't support implicite copying of images. Is there any other API which copies all the images from particular html pages implicitly when I copy that html page? Thanks

    Sameer Thakur

    V 1 Reply Last reply
    0
    • S Sameer_Thakur

      Hi all. In my application I am trying to copy an html page from one temp location to another location specified by user. I am using CopyFile() API to copy html pages. But I need to explicitly carryout the image copying along with the .html page copying. I also tried using SHFileOperation API but it also doesn't support implicite copying of images. Is there any other API which copies all the images from particular html pages implicitly when I copy that html page? Thanks

      Sameer Thakur

      V Offline
      V Offline
      V_shr
      wrote on last edited by
      #2

      Hi As I know there isnt any API for that . you should search for image function in the html file , and find the image adresses and copy them near the html file , then you should change the adresses in the file to new addresses (related addresses) . Then you can copy them wherever you want . It will take time to do that ...but if you want to write the program you should spend time .

      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