IFile Members

MCManager API

The IFile type exposes the following members.

Methods

  NameDescription
CopyTo
Copies the file to the destination file.
DeleteOverloaded.
ExportFile
Exports the file to the local file system.
ImportFile
Imports a local file to the file system, for example when users upload files.
ListFiles
List files in the specified directory.
ListFilesFiltered
List files by the specified filter.
ListTree
Lists a tree of files within a directory.
ListTreeFiltered
Lists a tree of tiles within a directory by the specified filter.
MkDir
Creates a new directory.
Open
A merged name/value array of config elements.
RenameTo
Renames/Moves this file to the specified file instance.

Properties

  NameDescription
AbsolutePath
Absolute file/directory path.
CanRead
Read access property, is true if the file is readable.
CanWrite
Write access property, if true if the file is writable.
Config
A merged name/value array of config elements.
CreationDate
Creation date of file/directory.
Exists
File exists property, if true the file/directory exists.
IsDirectory
Is directory property, is true if the file instance is a directory.
IsFile
Is file property, is true if the file instance is a file.
LastModified
Last modification date of file/directory.
Length
File size in bytes of file.
Name
File/directory name.
Parent
Absolute path of parent directory.
ParentFile
IFile of parent directory.
TriggerEvents
State if file action events should be fired or not.

See Also