Hi Trevor,
Yes, I did have found your former thread in the newsgroup and replied in
that one, since you've missed that one, here is the google link of it:
http://groups-beta.google.com/group/...amework.aspnet
/browse_thread/thread/d74c2dbfc1b1a126/d2dc11ef1d402fd0?q=%22Reading+A+Text+
File+From+A+Remote+Server%22&rnum=2&hl=en#d2dc11ef 1d402fd0
Also, for your convenience, I've repasted my former response here, if there
are still anything unclear or need help, please feel free to post here.
=========================
Welcome to ASPNET newsgroup.
As for the Reading text file from remote server problem you mentiond, here
are some of my understanding and suggestinos:
The System.IO namespace's classes are target for local file storage for
remote fileshared (UNC) in the same intranet. For internet based
scenario(such as http url path), we should use the classes under System.Net
namespace to retrieve them. The System.Net.HttpWebRequest and
System.Web.WebClient classes are two useful one. And the WebClient is
especically useful and simplified, we can use it's DownloadData,
DownLoadFile to retreive file/stream from remote webserver. Here are some
tech articles and resources describing using webclient or webrequest:
#WebClient Class #HttpWebRequest Class
http://msdn.microsoft.com/libr-ary/e...syst-emnetwebc...
http://msdn.microsoft.com/libr-ary/e...Syst-emNetHttp...
#Using WebRequest and WebResponse classes
http://www.c-sharpcorner.com/I-ntern...sponseMDB-.asp
Hope helps. Thanks,
Steven Cheng
Microsoft Online Support
===========================================
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)