How to Get a File from a webpage?

Hello,

I am trying to find out how to get a file (word, excel, etc.) from a webpage. I am using Visual Basic Express 2005. Would I use webrequest, get or some other command. I understand how to get a webpage, but not how to get a file that resides on a webpage. Thank you for any help you can offer.




Answer this question

How to Get a File from a webpage?

  • Matt DC

    Thank you, that helped immensley. 



  • DazlerD

    As far as I know, it's the same way you get a web page. Just make sure you add the file extensions (.doc, .xls, etc.)


  • Gavin Clements

    Try my.Computer.Network.DownloadFile passing in the source URI and destination path.

    Jim Wooley
    http://devauthority.com/blogs/jwooley



  • How to Get a File from a webpage?