Copy File
Copies a file to the destination folder in OneDrive or SharePoint. If NewName is empty, the source file name is used.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅Yes | OneDrive or SharePoint connection settings |
|
| ✅Yes | Source file path |
|
| ✅Yes | Destination folder path |
|
| ❌No | New file name at the destination |
|
| ❌No | Overwrite if a file with the same name exists (default: no) |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Operation success status |
|
| Status/error message |
|
| Path of the copied file |
⬇️MISC
Parameter | Type | Default | Description |
|---|---|---|---|
|
| ❌No | Specifies whether an exception is thrown when the operation fails. The default value is "No". |