FileService.Move method
Move a file within root
public IFileMetaData Move(string fileName, string oldFileType, string newFileType,
bool throwOnException = true, bool throwOnNotFound = true)
parameter | description |
---|---|
fileName | Name of the file |
oldFileType | The current Type of the file |
newFileType | The new Type of the file |
throwOnException | Indicates whether an Exception should be thrown upon errors. Default:true |
throwOnNotFound | Indicates whether an Exeption should be thrown if the file is not found.Default:true |
Return Value
IFileMetaData
See Also
- class FileService
- namespace DotNetOpen.FileService