By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,346 Members | 2,331 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,346 IT Pros & Developers. It's quick & easy.

Read a text file from on the client

P: n/a
Hi
I am trying to let the users select a txt file on their drive and then
import all the text in it to a textbox ?
I have figured out how to access a file on the server and import it but not
how I could read a file on the clients disk ?

And another question I am curious about how hard is it to export/import
mails to outlook if it possible ?

Thanx in advance guys..
Johan

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Sorry for the bad headline meant ofcourse:
'Read a text file from the client'

"Johan Wendelstam" wrote:
Hi
I am trying to let the users select a txt file on their drive and then
import all the text in it to a textbox ?
I have figured out how to access a file on the server and import it but not
how I could read a file on the clients disk ?

And another question I am curious about how hard is it to export/import
mails to outlook if it possible ?

Thanx in advance guys..
Johan

Nov 19 '05 #2

P: n/a

"Johan Wendelstam" wrote:
Sorry for the bad headline meant ofcourse:
'Read a text file from the client'

"Johan Wendelstam" wrote:
Hi
I am trying to let the users select a txt file on their drive and then
import all the text in it to a textbox ?
I have figured out how to access a file on the server and import it but not
how I could read a file on the clients disk ?

And another question I am curious about how hard is it to export/import
mails to outlook if it possible ?

Thanx in advance guys..
Johan


Hi Johan,

You can use the HtmlInputFile object to load the text file from the client
then read the content on the server and display it back to the browser, as in
this example:
http://www.webswapp.com/demos/loadTextFile.aspx

HTH,
Phillip Williams

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.