Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
1) Modify the IFileSystem.CopyFromLocal API to take in an overwrite boolean parameter
2) The overwrite parameter will default to true
3) Exception will be thrown if overwrite is false and the file exists.
API will look like the following:
void CopyFromLocal(string localFileName, Uri remoteFileUri, bool overwrite = true);