[−][src]Function dropbox_sdk::files::copy_batch
pub fn copy_batch(
client: &dyn HttpClient,
arg: &RelocationBatchArg
) -> Result<Result<RelocationBatchLaunch, ()>>
Copy multiple files or folders to different locations at once in the user's Dropbox. If
RelocationBatchArg::allow_shared_folder
is false, this route is atomic.
If one entry fails, the whole transaction will abort. If
RelocationBatchArg::allow_shared_folder
is true, atomicity is not
guaranteed, but it allows you to copy the contents of shared folders to new locations. This
route will return job ID immediately and do the async copy job in background. Please use
copy_batch_check()
to check the job status.