Skip to main content

FileSystemProviderBase.CopyFile(FileManagerFile, FileManagerFolder) Method

Override this method to implement copying a file.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public virtual void CopyFile(
    FileManagerFile file,
    FileManagerFolder newParentFolder


Name Type Description
file FileManagerFile

A FileManagerFile object that is the copied file.

newParentFolder FileManagerFolder

A FileManagerFolder object that is the folder to which the current file is being copied.


If you create a custom file system provider inherited from the FileSystemProviderBase class, you can override the CopyFile method to copy a file.

By default, the method has no implementation, and should be overridden if file copying is allowed (the FileManagerSettingsEditing.AllowCopy property is set to true).

See Also