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. Opening files on the internet for reading

Opening files on the internet for reading

Scheduled Pinned Locked Moved C#
xmlhelptutorialquestion
5 Posts 3 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.
  • Z Offline
    Z Offline
    zagzagzag
    wrote on last edited by
    #1

    Hi there! I have a problem. What i want to do, is opening a remote file on the internet (a xml file) for reading in my application. The remotehost is not running any serving functions, the file is just available on the internet. Is there anyone who knows how to do this? Thanks in advance!

    R Z G 3 Replies Last reply
    0
    • Z zagzagzag

      Hi there! I have a problem. What i want to do, is opening a remote file on the internet (a xml file) for reading in my application. The remotehost is not running any serving functions, the file is just available on the internet. Is there anyone who knows how to do this? Thanks in advance!

      R Offline
      R Offline
      Robert Rohde
      wrote on last edited by
      #2

      I wrote an article regarding this issue. The only major drawback is that this method doesn't function in all windows versions...

      1 Reply Last reply
      0
      • Z zagzagzag

        Hi there! I have a problem. What i want to do, is opening a remote file on the internet (a xml file) for reading in my application. The remotehost is not running any serving functions, the file is just available on the internet. Is there anyone who knows how to do this? Thanks in advance!

        Z Offline
        Z Offline
        zagzagzag
        wrote on last edited by
        #3

        Erhm. Thanks for taking the time to reply to the topic, but that was a link to a article regarding "ExtendingFileDialogs" ;)

        1 Reply Last reply
        0
        • Z zagzagzag

          Hi there! I have a problem. What i want to do, is opening a remote file on the internet (a xml file) for reading in my application. The remotehost is not running any serving functions, the file is just available on the internet. Is there anyone who knows how to do this? Thanks in advance!

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          You can use the HttpRequest class to request the file. --- b { font-weight: normal; }

          Z 1 Reply Last reply
          0
          • G Guffa

            You can use the HttpRequest class to request the file. --- b { font-weight: normal; }

            Z Offline
            Z Offline
            zagzagzag
            wrote on last edited by
            #5

            Yes! thanks you. :D Been struggeling with this for hours!

            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