New in package 167
Syntax
FileSystem.method(...);
Description
The FileSystem object is a top-level, predefined Server-side MetaScript object. You can access it without using a constructor or calling a method.
Methods
Method | Returns | Description |
---|---|---|
file( name [, _params] ) | File | Creates a File object representing the named file. |
directory( name [, _params] ) | Directory | Creates a Directory object representing the named directory. |
Obsolete:
Method | Returns | Description |
---|---|---|
[createBinaryFile]( path ) | File | Create a new binary file. |
[openBinaryFile]( path ) | File | Open an existing file as binary. |
[createTextFile]( path [, _params] ) | File | Create a new text file. |
[openTextFile]( path [, _params] ) | File | Open an existing text file. |