I've gotten a multipart upload to work, I will give it a shot on
Android and get back to you Monday if you haven't gotten this to work
yet :)

On Feb 24, 12:48 am, ishwarya <[email protected]> wrote:
> Hi there,
>
>             I am trying to upload image file from my android app to
> amazon s3.The problem is that the files are not getting properly
> uploaded to S3.
>
> I am using PutObjectRequest as follows to upload file to S3
>
> PutObjectRequest p=new PutObjectRequest(String
>
> Bucketname,Stirng key,InputStream in,ObjectMetadata metadata);
>
> Upload myUpload = tx.upload(p);
>
> //In ObjectMetadata argument I am passing only the content length
>
> When viewed through AWS management console to check the properties of
> the uploaded file, I could see
> only 32 Bytes of 5.2 KB image file getting uploaded.
>
> Also, under the Metadata tab of the file in the AWS console, I am able
> to see the value of the file as "application/octet-stream" instead of
> "image/jpeg"
>
> I tried doing Multipart upload but it seems to be complex.
>
> Could somebody help me with this???????
>
> Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to