Upload and direct Processing of uploaded file using HtmlInputFile object

  • Thread starter Thread starter Long Le
  • Start date Start date
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?
 
Maybe you could use the HttpPostedFile.InputStream property to load the
content into a StreamReader.
 

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

Back
Top