//library/com.uploadcare.android.library.api/UploadcareClient/copyFileRemoteStorage
copyFileRemoteStorage
[androidJvm]
Content
fun copyFileRemoteStorage(source: String, target: String? = null, makePublic: Boolean = true, pattern: String? = null): UploadcareCopyFile
More info
Copy file to remote storage. Copy original files or their modified versions to a custom storage. Source files MAY either be stored or just uploaded and MUST NOT be deleted.
Return
An object containing the results of the copy request
Parameters
androidJvm
Name |
Summary |
makePublic |
MUST be either true or false. true to make copied files available via public links, false to reverse the behavior.
|
pattern |
The parameter is used to specify file names Uploadcare passes to a custom storage. In case the parameter is omitted, we use pattern of your custom storage. Use any combination of allowed values.
|
source |
File Resource UUID or A CDN URL.
|
target |
Identifies a custom storage name related to your project. Implies you are copying a file to a specified custom storage. Keep in mind you can have multiple storages associated with a single S3 bucket.
|