469,963 Members | 1,996 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,963 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
2 1272
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:


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 | last post: by
1 post views Thread by archana | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.