JavaScript/jQuery FileManager - Object.Methods
This section describes members used to manage file system items.
abortFileUpload()
Cancels the file upload.
The file that is being uploaded.
Information about the file upload session.
The directory where a file system item is uploaded to.
A Promise that is resolved after the file upload is aborted. It is a native Promise or a jQuery.Promise when you use jQuery.
copyItems()
Copies files or folders.
The current files or folders.
The directory where files or folders are copied to.
An array of Promise objects. A promise at N index gets resolved after a file or folder with the same index is copied. It is a native Promise or a jQuery.Promise when you use jQuery.
createDirectory()
Creates a directory.
The parent directory where a new directory should be created.
The name of the new directory.
A Promise that is resolved after a new directory is created. It is a native Promise or a jQuery.Promise when you use jQuery.
deleteItems()
Deletes files or folders.
The current files or folders.
An array of Promise objects. A promise at N index gets resolved after a file or folder with the same index is deleted. It is a native Promise or a jQuery.Promise when you use jQuery.
getItems()
Gets file system items.
The directory that stores file system items.
Promise<Array<FileSystemItem>> (jQuery or native)
A Promise that is resolved after file system items are obtained. It is a native Promise or a jQuery.Promise when you use jQuery.
getItemsContent()
Gets items content.
The file system items.
A Promise that is resolved after the content of the file system items is obtained. It is a native Promise or a jQuery.Promise when you use jQuery.
moveItems()
Moves files and folders.
The current files and folders.
The directory where files or folders are moved to.
An array of Promise objects. A promise at N index gets resolved after a file or folder with the same index is moved. It is a native Promise or a jQuery.Promise when you use jQuery.
renameItem()
Renames a file or folder.
The current file or folder.
The new name for the file or folder.
A Promise that is resolved after the file or folder is renamed. It is a native Promise or a jQuery.Promise when you use jQuery.
uploadFileChunk()
Uploads a file in chunks.
The file that is being uploaded.
Information about the file upload session.
The directory where the file is uploaded to.
A Promise that is resolved after the file uploaded. It is a native Promise or a jQuery.Promise when you use jQuery.
If you have technical questions, please create a support ticket in the DevExpress Support Center.