Working with the Server's file system using ASP.NET

The tutorial covers the following subjects:
- Writing text to a file
- Reading text from a file
- Finding out if a file or directory exists
- Renaming a file or directory
- Copying and moving a file or directory
- Deleting a file or directory
- Listing the contents of a directory
- A hierarchal listing example
- Common problems and errors
We end the tutorial with an example of displaying the contents of a directory using a recursive routine to show the hierarchy of its contents in much the same manner as a tree control would display them.
Table of Content:
- Common problems and errors
- About the .NET file classes
- Creating and writing text to a file
- Write text to an existing file
- Read text from a file
- Find out if a file or directory exists
- Rename a file or directory
- Moving a file or directory
- Copying a file
- Delete a file or directory
- Get file or directory statistics
- List the contents of a directory
- A hierarchal listing example









