downloadPublicTo
suspend fun BucketApi.downloadPublicTo(path: String, file: ERROR CLASS: Symbol not found for File, options: DownloadOptionBuilder.() -> Unit = {})(source)
suspend fun BucketApi.downloadPublicTo(path: String, file: ERROR CLASS: Symbol not found for Path, 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