Type: original | Source: 5D multimedia | Author: cnbruce
1. FSO. GetFile
Extract file objects
1. GetFile. asp
The result is as follows: Right-click a file to view the specific property information.
The value "32" returned by Attributes indicates: (archive) the file that has been changed since the last backup. Read/write.
The appendix of other values is as follows:
Normal 0 common file. No attribute is set. Readonly 1 read-only file. Read/write. Hidden 2 hides the file. Read/write. System 4 system file. Read/write. Directory 16 folder or directory. Read-only. Archive 32 files changed after the last backup. Read/write. Alias 1024 links or shortcuts. Read-only. Compressed 2048. Read-only. Ii. file. Move
To move a specified file or folder from one location to another. In fact, this method still belongs to an application after FSO. GetFile.
2. movefile. asp
Check whether
Simple cut and paste functions.
Iii. file. Copy
It also belongs to an application after FSO. GetFile. Simply copy the file to a location.
3. copyfile. asp
Check whether the cnbruce.txt file in the directory that is the same as the ASP page still exists.
4. file. Delete
Obviously, the object is deleted directly.
4. delfile. asp