You can perform various actions with files and folders in File Manager. The actions are presented in the popup menu called "Actions". It is activated by right-clicking on a folder/file in the Tree or Files view or by clicking the Menu button on the toolbar.
However, you can also customize actions by means of redefining the corresponding methods.
To copy a folder/file, use the copyFile method:
To move a folder/file, use the moveFile method:
To delete a folder/file, use the deleteFile method:
To rename a folder/file, use the renameFile method:
To download a file, you need to call the download method and pass the file id to it:
To open a file upload dialog, use the uploadFile method:
Back to top