Re: Downloading a text file from a Web Server

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Use the WebRequest class, it uses HTTP, just like a web browser would.

http://www.google.com/search?hl=en&q=vb.net+webrequest&btnG=Google+Search

"Rob" <rls_jls@xxxxxxxxxxxxxxxx> wrote in message
news:OAe2PPqCGHA.336@xxxxxxxxxxxxxxxxxxxxxxx
>I would like to download a text file on a web server,
> and use the contents of the file as data input. The file
> can theoretically be accessed from internet explorer
> using the address http://home.att.net/~rs_abq/GetText.txt
>
> Also, I have not as yet accessed the file using FTP
> protocol and feel that the web server doesn't allow this
> method for download.
>
> My question is there a .NET class out there that will
> download this text file for me ? Please help.
>
> And thank you for your time
>
>


.



Relevant Pages

  • Re: Suggestions on creating a File Download area
    ... > I'm in the process of setting up a web site that will allow users to ... > towards having a download area that users can log in to and simlply ... are outside the directories that the web server can access. ... or you could link the cleaning to logins. ...
    (alt.php)
  • Re: Suggestions on creating a File Download area
    ... filename will be able to download the file without paying you anything. ... as the web server wouldn't go out of the /var/www/html ... A php script can read a file outside the document-root, ... use fpassthru() function, of course you can use any of the other file read ...
    (alt.php)
  • Re: OT: windoze woes and full rant mode is on
    ... If I try and download it to the client, ... EVERYTHING on the web server, then simply serve up a dynamically ... constructed page that suits the particular browser being used. ... I was really hoping Java would have taken off more than it did. ...
    (comp.lang.cobol)
  • Re: Downloading files
    ... > How can I download a file and store it on the web server. ... The files are to be stored on the web server. ... >>> How can I download a file and store it on the web server. ... >>> Shawn ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Stream or download of files
    ... "Save-As" it won't go to download the whole file, ... A web server stream is more like a long-term file download, ... negotiate with the client which bitrate to deliver so you'd get sent ...
    (microsoft.public.windowsmedia.encoder)