Build Status


Boost AWS S3 file download

What is DownloadManager?

It is designed to optimize file downloading from AWS S3 by spliting the file in several parts and downloading each part separately. It gives you the possibility to paralelize this process giving you a performance boost. It will help you when are trying to download large files with poor internet connection: as each part is downloaded and persisted, when the process fails, it will start from where it was left.


val manager = MultipartDownloadManagerBuilder
    .standard(s3Client, bucketName, keyName, filePath)
    .withPartThreshold( 1024 * 1024 * 20L ) /* size (bytes) of each part */
    .withParallelResolution( true )
    .withLogReport( true )


repositories {
    maven {
        url = uri("")
        credentials {
            username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_USERNAME")
            password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")

dependencies {


View Github