downloadAuthenticatedTo

suspend fun BucketApi.downloadAuthenticatedTo(path: String, file: <Error class: unknown class>, options: DownloadOptionBuilder.() -> Unit = {})(source)
suspend fun BucketApi.downloadAuthenticatedTo(path: String, file: <Error class: unknown class>, options: DownloadOptionBuilder.() -> Unit = {})(source)

Downloads a file from BucketApi.bucketId under path and saves it to file

Parameters

path

The path to download the file from

file

The file to save the data to

options

Additional options for the download