React 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 directories.
The current files or directories.
The directory where files or directories are copied to.
An array of Promise objects. A promise at N index gets resolved after a file or directory 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 directories.
The current files or directories.
An array of Promise objects. A promise at N index gets resolved after a file or directory 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 directories.
The current files and directories.
The directory where files or directories are moved to.
An array of Promise objects. A promise at N index gets resolved after a file or directory with the same index is moved. It is a native Promise or a jQuery.Promise when you use jQuery.
renameItem()
Renames a file or directory.
The current file or directory.
The new name for the file or directory.
A Promise that is resolved after the file or directory 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.