copyFile
Copy a specified file.
Same as calling copyFile with overwrite
set to false
.
Return
Call resulting in the metadata of the copied file
Parameters
The file id of the file to be copied.
The folder id of the folder where the file will be copied.
Copy a specified file.
The call will copy the file specified by the fileId
argument to the folder specified by the toFolderId
argument.
For more information, see the related documentation page.
Return
Call resulting in the metadata of the copied file
Parameters
The file id of the file to be copied.
The folder id of the folder where the file will be copied.
If set to true
, a file with the same name in the destination folder will be overwritten
Copy a specified file.
Same as calling copyFile with overwrite
set to false
.
For more information, see the related documentation page.
Return
Call resulting in the metadata of the copied file
See also
Parameters
The RemoteFile to be copied. Must not be null.
The RemoteFolder where the file will be copied. Must not be null.
Throws
on a null toFolder
argument.
Copy a specified file.
Same as calling copyFile
For more information, see the related documentation page.
Return
Call resulting in the metadata of the copied file
See also
Parameters
The RemoteFile to be copied. Must not be null.
The RemoteFolder where the file will be copied. Must not be null.
If set to true
, a file with the same name in the destination folder will be overwritten
Throws
on a null toFolder
argument.