IUploadStorage.CopyFrom method
namespace: Serenity.Web assembly: Serenity.Net.Services
Copies a file from another upload storage and returns the resulting file path
public string CopyFrom(IUploadStorage sourceStorage, string sourcePath, string targetPath,
OverwriteOption overwrite)
| parameter | description |
|---|---|
| sourceStorage | Source upload storage |
| sourcePath | Source file path |
| targetPath | Target file path |
| overwrite | Overwrite option |
See Also
- enum OverwriteOption
- interface IUploadStorage