Copy a single file
Copies one object from a source remote and path to a destination remote and path.
post/operations/copyfile
Query parameters
srcFsstring
Source remote name or path, such as drive: or / for the local filesystem.
srcRemotestring
Path to the source object within srcFs, for example dir/file.txt.
dstFsstring
Destination remote name or path, such as drive2: or / for local filesystem.
dstRemotestring
Target path within dstFs where the file should be written.
_groupstring
Assign the request to a custom stats group.
_asyncboolean
Run the command asynchronously. Returns a job id immediately.
Headers
Prefer'respond-async'
Set to "respond-async" with _async=true to receive HTTP 202 instead of 200.
Request body
Response
Request succeeded returning an empty JSON object.
object required