is there any convenient way to download a huge file with Ktor using OutputStream? The file is consid...
m
is there any convenient way to download a huge file with Ktor using OutputStream? The file is considered to be larger than 2GB. I previously asked almost the same question
Using
ByteReadChannel
as described there seems to be the best way
a
Also, you can observe a download progress with the
onDownload
extension function https://ktor.io/docs/response.html#raw.
m
Considered Thanks