Upload and direct Processing of uploaded file using HtmlInputFile object

L

Long Le

Try to upload a file and process or parse it directly without having to save
to the hard disk first and then being able to parse it. Currently I'm having
to upload a file using the HtmlInputFile object and then save it to the hard
disk, reopen it using the File.OpenText then do processing and resave it!

Any one have any ideas or references?
 
P

Peter Rilling

Maybe you could use the HttpPostedFile.InputStream property to load the
content into a StreamReader.
 
P

Peter Morris

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top