operations_copyfile
Copy a single file from a source remote and path to a destination remote and path, supporting custom stats groups and async execution.
Instructions
Copy a single file — Copies one object from a source remote and path to a destination remote and path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dstFs | No | Destination remote name or path, such as `drive2:` or `/` for local filesystem. | |
| srcFs | No | Source remote name or path, such as `drive:` or `/` for the local filesystem. | |
| _async | No | Run the command asynchronously. Returns a job id immediately. | |
| _group | No | Assign the request to a custom stats group. | |
| dstRemote | No | Target path within `dstFs` where the file should be written. | |
| srcRemote | No | Path to the source object within `srcFs`, for example `dir/file.txt`. |