You are here:

Active Server Pages Programming (ASP)/Upload, Edit and Read a Text File using ASP 3.0

Advertisement


Question
Hello 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

Answer
Hi,

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

Active Server Pages Programming (ASP)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Ashley Brazier

Expertise

Main focus is ASP, SQL Server 2000 & 2005

Experience

Over 6 years experience.

Education/Credentials
BCs Honours Software Design and Networks

©2012 About.com, a part of The New York Times Company. All rights reserved.