Obiekt FileSystem daje możliwość aplikacjom ASP tworzenia, modyfikacji, przenoszenia oraz kasowania katalogów / plików lub sprawdzenia istnienia danego katalogu / pliku. Istnieje także możliwość pobrania informacji na temat katalogów / plików, takich jak ich nazwy, daty utworzenia czy daty ostatniej modyfikacji, itp.
1. Obiekt FileSystemObject
| Właściwości |
| Drives |
- |
|
| Metody |
| BuildPath |
- |
|
| CopyFile |
- |
|
| CopyFolder |
- |
|
| CreateFolder |
- |
|
| CreateTextFile |
- |
|
| DeleteFile |
- |
|
| DeleteFolder |
- |
|
| DriveExists |
- |
|
| FileExists |
- |
|
| FolderExists |
- |
|
| GetAbsolutePathName |
- |
|
| GetBaseName |
- |
|
| GetDrive |
- |
|
| GetDriveName |
- |
|
| GetExtensionName |
- |
|
| GetFile |
- |
|
| GetFileName |
- |
|
| GetFileVersion |
- |
|
| GetFolder |
- |
|
| GetParentFolderName |
- |
|
| GetSpecialFolder |
- |
|
| GetTempName |
- |
|
| MoveFile |
- |
|
| MoveFolder |
- |
|
| OpenTextFile |
- |
|
2. Obiekt Drive
| Właściwości |
| AvailableSpace |
- |
|
| DriveLetter |
- |
|
| DriveType |
- |
|
| FileSystem |
- |
|
| FreeSpace |
- |
|
| IsReady |
- |
|
| Path |
- |
|
| RootFolder |
- |
|
| SerialNumber |
- |
|
| ShareName |
- |
|
| TotalSize |
- |
|
| VolumeName |
- |
|
3. Obiekt File
| Właściwości |
| Attributes |
- |
|
| DateCreated |
- |
|
| DateLastAccessed |
- |
|
| DateLastModified |
- |
|
| Drive |
- |
|
| Name |
- |
|
| ParentFolder |
- |
|
| Path |
- |
|
| ShortName |
- |
|
| ShortPath |
- |
|
| Size |
- |
|
| Type |
- |
|
| Metody |
| Copy |
- |
|
| Delete |
- |
|
| Move |
- |
|
| OpenAsTextStream |
- |
|
4. Obiekt Folder
| Właściwości |
| Attributes |
- |
|
| DateCreated |
- |
|
| DateLastAccessed |
- |
|
| DateLastModified |
- |
|
| Drive |
- |
|
| IsRootFolder |
- |
|
| Name |
- |
|
| ParentFolder |
- |
|
| Path |
- |
|
| ShortName |
- |
|
| ShortPath |
- |
|
| Size |
- |
|
| SubFolders |
- |
|
| Type |
- |
|
| Metody |
| Copy |
- |
|
| Delete |
- |
|
| Move |
- |
|
| OpenAsTextStream |
- |
|
5. Obiekt TextStream
| Właściwości |
| AtEndOfLine |
- |
|
| AtEndOfStream |
- |
|
| Column |
- |
|
| Line |
- |
|
| Metody |
| Close |
- |
|
| Read |
- |
|
| ReadAll |
- |
|
| ReadLine |
- |
|
| Skip |
- |
|
| SkipLine |
- |
|
| Write |
- |
|
| WriteBlankLines |
- |
|
| WriteLine |
- |
|
6. Obiekt Dictionary
| Właściwości |
| CompareMode |
- |
|
| Count |
- |
|
| Item |
- |
|
| Key |
- |
|
| Metody |
| Add |
- |
|
| Exists |
- |
|
| Items |
- |
|
| Keys |
- |
|
| Remove |
- |
|
| RemoveAll |
- |
|
Autor: Krzysztof Stelmach
Strona pochodzi z http://www.stelmach.info/