Bitrix Site Manager

Files and directories

The following functions are used with the site file system.

Function Description
CheckDirPath Checks if the path specified physically exists. Creates all directories of the path, if necessary.
CopyDirFiles Copies files and directories.
DeleteDirFiles Deletes duplicates of files from the directory which are also found in another.
DeleteDirFilesEx Recursively deletes the directory or file specified.
RewriteFile Writes a new content to file.
GetDirPath Returns a parent directory of the specified file given the file path.
GetPagePath Takes a file URL and converts it to a file path.
GetDirIndex Returns the directory index file.

See Also