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