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#
  4. How to find the path of a PDF based on corresponding URL opened in IE?

How to find the path of a PDF based on corresponding URL opened in IE?

Scheduled Pinned Locked Moved C#
questiontutorial
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
    svt gdwl
    wrote on last edited by
    #1

    For a specific url which is opened in IE, I want the details temporay internet files (like images, textfiles, pdfs) of that specific URL. I try to retrieve all those information through wininet functions like FindfirstURLcacheEntry, FindNextURCacheEntry, GetUrlcacheEntryInfo, I tried to make a log about all the details which can be obtained from temporary internet files for that specific url, I observed that I was unable to get the PDF path which exists in temparary internt files. How can I get this, Is there any other method to get that PDF? If anyone knows something, plz suggest some solution. thank you

    L 1 Reply Last reply
    0
    • S svt gdwl

      For a specific url which is opened in IE, I want the details temporay internet files (like images, textfiles, pdfs) of that specific URL. I try to retrieve all those information through wininet functions like FindfirstURLcacheEntry, FindNextURCacheEntry, GetUrlcacheEntryInfo, I tried to make a log about all the details which can be obtained from temporary internet files for that specific url, I observed that I was unable to get the PDF path which exists in temparary internt files. How can I get this, Is there any other method to get that PDF? If anyone knows something, plz suggest some solution. thank you

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      I would use HttpRequest class to request the same page again, then analyze the HTML code and again use HttpRequest to fetch the referenced files of interest. :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


      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