downloadFileContentTo
open suspend override fun downloadFileContentTo(fileId: String, file: KoryFile, onProgress: UploadFileProgressListener<SingleFileProgress>?): Long
Downloads a file's content and writes it to a KoryFile.
Return
The total number of bytes written.
Parameters
fileId
The ID of the file to download.
file
The destination file.
onProgress
Optional listener for download progress (0.0–1.0).