467,134 Members | 1,091 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,134 developers. It's quick & easy.

Question regarding reading file in asp.net

Hi all,

I am new to asp.net (learning phase).
I have to develop application in asp.net to read file from client pc
and display statistics of that file to client.

So my question is that to read file from client pc do i need to upload
that file on server and then start reading that file.

Or is there any other alternative for this.

Because i just need that file for reading purpose so i think there may
be any facility allow in asp.net to provide facility of reading client
side file.

If someone can shed some light on it then do help me.

Thanks in advance.

Feb 8 '06 #1
  • viewed: 1204
Share:
2 Replies
I believe the only way to get this to work with c# is like you said,
upload the file to the server and read it from there, if you have it
somewhere on a network share you can access it by using the UNC path.

Feb 8 '06 #2
Checkout the following post:

http://forums.microsoft.com/MSDN/Sho...00118&SiteID=1

They are using the DownloadString function of the HttpWebClient class.

Hope it helps a bit.

Sonu Kapoor [MVP]

---
Posted via www.DotNetSlackers.com
Feb 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by jojobar | last post: by
3 posts views Thread by Henry | last post: by
42 posts views Thread by mellyshum123@yahoo.ca | last post: by
6 posts views Thread by charles_gero@merck.com | last post: by
1 post views Thread by archana | last post: by
12 posts views Thread by nyathancha@hotmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.