1

I am using Amazon library to upload single file to server. I am using this code to upload single image, but now i want to upload and pass multiple files in UploadService service.

I checked inside UploadService class and inside this service class, they are using following code to start upload.

uploader = new Uploader(this, s3Client, s3BucketName, s3ObjectKey, fileToUpload);

Here fileToUpload = file path of single image.

Did anybody use this same service and uploaded multiple files? Help would be appreciated.

Thanks in advance.

1 Answer 1

1

I have spent couple of days on this and finally got something interesting. Here is amazon s3 lib which provide multiple upload with resume and cancle functionality.

https://github.com/awslabs/aws-sdk-android-samples

Let me know if you face any issues.

Sign up to request clarification or add additional context in comments.

3 Comments

This is what i am looking for. Thanks mate ;-)
@Hardik, can you please let me know which part of the s3 lib helped you to get the multiple file upload ?
Already seen and implement the file upload code snippet from the given sample.The given code only upload one file at a time.How to handle the list of files upload using the given sample code? Can you please explain how to achieve with same sample code

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.