Java File Downloader, download File using HttpURLConnection of Java
- Download file from HttpUrl
- If File already partially downloaded, download resume from there.
- Provide CLI interface for Download File
- CLI display progressbar on console for monitor downloading process.
- Execute gradle command from home directory
FileDownloader git:(sprint) ✗ gradle
:clean
:compileJava
:processResources
:classes
:jar
:assemble
:compileTestJava
:processTestResources UP-TO-DATE
:testClasses
:test
:check
:build
:createExecutableJar
BUILD SUCCESSFUL
Total time: 8.269 secs
- gradle command generate executable FileDownloader-exe.jar in build/libs folder
- execute FileDownloader-exe.jar to download file from HttpUrl. FileDownloader git:(sprint) ✗ java -jar build/libs/FileDownloader-exe.jar
**********************************
** File Downloader Started **
**********************************
Please enter Download File URL:http://speedtest.ftp.otenet.gr/files/test100k.db
Please enter File Location : /tmp
100 % [...................................................]