@Frank LoVecchio  Can you share the code please how did you did uploaded to 
s3 using multipart please ?

On Friday, March 18, 2011 9:34:52 PM UTC+5:30, Frank LoVecchio wrote:
>
> 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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to