Documentation

File

MethodDescription
disk.file.getfieldsReturns a description of the file fields.
disk.file.get Returns a file by ID.
disk.file.rename Renames the file.
disk.file.copyto Copies file to the specified folder.
disk.file.moveto Moves a file to the specified folder.
disk.file.delete Deletes the file for good.
disk.file.markdeleted Moves a file to the recycle bin.
disk.file.restore Restores a file from the recycle bin.
disk.file.uploadversion Uploads a new version of the file.
disk.file.getVersions Returns the list of file versions.
disk.file.restoreFromVersion Restores a file of a specific version.
disk.file.getExternalLink Returns public link to file.


© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021