class FileUploader
<init> |
FileUploader(common: CommonExtension) |
logProgress |
fun ProgressLogger.logProgress(operation: String, readLength: Long, fullLength: Long, file: File): Unit |
upload |
fun upload(file: File, output: OutputStream, cleanup: (File) -> Unit = {}): Unit |
KILOBYTE |
const val KILOBYTE: Int |
TRANSFER_CHUNK_100_KB |
const val TRANSFER_CHUNK_100_KB: Int |