Active Server Pages Programming (ASP)/Upload, Edit and Read a Text File using ASP 3.0
Expert: Ashley Brazier - 5/8/2009
QuestionHello Sir,
Can you give me a clear example of ASP 3.0 script that allows me to upload a text file to the web server? Also I want that to show me what is written on the text file by displaying it to the web page (by a text area form) so that I can edit it and if I click a button it will save it and edit the file.
Thank you so much,
Daniel
AnswerHi,
First of all you'll need to purchase a component that will allow you to upload files, if you google Asp upload you should get plenty of examples.
As for the file, you can use the file system object, some good samples can be found here:-
http://www.w3schools.com/asp/asp_ref_filesystem.asp
Hope this helps.
Thanks