HTTP Get interface to get the URL path file

Last post 07-07-2009 12:56 PM by johnwsaunders3. 1 replies.

Sort Posts:

  • HTTP Get interface to get the URL path file

    07-07-2009, 11:00 AM
    • Member
      419 point Member
    • anate
    • Member since 04-29-2004, 5:53 PM
    • Posts 101

    Hi,

    I don't know this is the right forum. I have a task to use HTTP Get Interface to get .gif file or XML file from the URL. The URL is going to be like this. :/http://<ipaddress>:<port number>/<full path of the file> .
    I need to create a form this would access the URL path, retrieve the file and store it under given directory. Any ideas how to do this?


    Thanks..
     

  • Re: HTTP Get interface to get the URL path file

    07-07-2009, 12:56 PM
    Answer

    This is not the right forum. In fact, the right forum isn't even on this site! The right forum is at http://social.msdn.microsoft.com/forums/en-US/ncl/threads/.

    It turns out that you just need to use the WebClient class. It's pretty easy to use. You may not even have questions once you look at the documentation.

    See Where to Find Forums on Microsoft Development for an article I just wrote with an overview of where the various forums are. Please let me know how it can be improved.


    John Saunders
Page 1 of 1 (2 items)