Documentation

Files and Directories

The functions to handle site file system:

Method Description Available from version
CheckDirPath Checks physical existience of a specified path. When required - creates all directories, included into this path.
CopyDirFiles Copies files and directories.
DeleteDirFiles Deletes all duplictate files from the specified director. These files are also located in another directory.
DeleteDirFilesEx Recursively deletes a specified directory or file.
RewriteFile Rewrites file contents.
GetDirPath Returns directory via full path.
GetPagePath Returns path to file via specified URL.
GetDirIndex Returns directory index file.
GetFileExtension Returns file extension.
GetFileType Returns file type.

See Also



© «Bitrix24», 2001-2024
Up