jgilfelt / android-simpl3r Goto Github PK
View Code? Open in Web Editor NEWAmazon S3 multipart file upload for Android, made simple
License: Apache License 2.0
Amazon S3 multipart file upload for Android, made simple
License: Apache License 2.0
Hi there,
Are you able to make this as a cordova plug-in as well?
Many thanks
When I try to upload a file using simpl3r, I get this exception.
I tried a quick google search to fix, but didnt work.
05-25 21:12:31.940: W/System.err(21275): Status Code: 400, AWS Service: Amazon S3, AWS Request ID: 25950685FA4A7BA0, AWS Error Code: MalformedXML, AWS Error Message: The XML you provided was not well-formed or did not validate against our published schema, S3 Extended Request ID: lFNEIr7bNf2wmQvoG1wztfVqTCHgRTfsXL8GQAXLWwEs7ZqMdaLdRwcXVfmz7iPm
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.http.AmazonHttpClient.executeHelper(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.http.AmazonHttpClient.execute(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.services.s3.AmazonS3Client.invoke(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.amazonaws.services.s3.AmazonS3Client.completeMultipartUpload(Unknown Source)
05-25 21:12:31.940: W/System.err(21275): at com.readystatesoftware.simpl3r.Uploader.start(Uploader.java:180)
05-25 21:12:31.940: W/System.err(21275): at com.readystatesoftware.simpl3r.example.UploadService.onHandleIntent(UploadService.java:105)
05-25 21:12:31.940: W/System.err(21275): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
05-25 21:12:31.940: W/System.err(21275): at android.os.Handler.dispatchMessage(Handler.java:102)
05-25 21:12:31.940: W/System.err(21275): at android.os.Looper.loop(Looper.java:136)
05-25 21:12:31.940: W/System.err(21275): at android.os.HandlerThread.run(HandlerThread.java:61)
Error: The XML you provided was not well formed or did not validate against our published schema.
Not sure where to look for the upload schema, but I think it's set as
./s3-put -T ./test2 -k -s ./ /mybucketname
and it should be:
./s3-put -T ./test2 -k -s ./ /mybucketname/myfile
How can I specify the content type of the file being uploaded?
Hi,
is there a way to restrict files with user permissions. Permissions could be a generated token stored on a user object on our server?
how to change the name of file I'm uploading ?, it's by default to value of s3key
Hey thanks for this awesome lib!
Can you please guide me how to upload multiple files simultaneously using UploadService you have created?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.