Features.
1 - Easy and small library.
2 - Upload file/images to server with multi-part/form-data.
3 - Show progress of uploading on notification.
4 - Customize your own notifiaction.
5 - Work in background thread even if application is in doze mode.
6 - Also supported for Oreo and above.
implementation 'net.gotev:uploadservice-ftp:3.5.0
MultipartUploadRequest(this, uploadId, ConstantKey.SERVERURL).addFileToUpload(
Environment.getExternalStorageDirectory().toString() + "/.ashish/" + file_name,
"file", file_name)
.addHeader("Content-Type", ConstantKey.CONTENT_TYPE)
.addHeader("Authorization", ConstantKey.AUTHORIZATION)
.addParameter("employeeid", ConstantKey.EMPLOYEEID)
.setNotificationConfig(getNotificationConfig(uploadId))
.setMaxRetries(2)
.startUpload()


