16.4. Controlling system storage and resources with ASP

16.4.1. Using FileSystemObject

One of the great strengths of ASP is to use and handle files and directories. Any ASP study will not be complete without a section dealing with these features.

To understand the whole picture of file and directory handling with ASP, you need to start with the object FileSystemObject and objects associated with it. Basically FileSystemObject is an ActiveX object providing access to a computer’s file system. Under FileSystemObject, you have four objects to handle all aspects of files and directories (or folders), namely, TextStream, File, Drive, and Folder. The structure of FileSystemObject is described in Fig. 16.13.

Figure 16.13. The structure of FileSystemObject ...

Get Practical Web Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.