Jan
04/24/2023, 3:42 PMstorage.api.prepareRequest {
prepareDownloadRequest(path, public, transform)
extra()
}.execute {
it.bodyAsChannel().copyTo(file.writeChannel())
}
Is that the right way?
• While doing that, if I don't set the request timeout extremely high, it's always gonna timeout with a >1GB file. What can I do about that? (Without just setting the timeout extremely high)Aleksei Tirman [JB]
04/24/2023, 5:19 PMJan
04/24/2023, 6:08 PMAleksei Tirman [JB]
04/24/2023, 6:08 PMJan
04/24/2023, 6:39 PM