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.


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019