Questions tagged [jets3t]

JetS3t is a Java toolkit and application suite for Amazon S3/CloudFront and Google Storage

JetS3t (pronounced "jet-set") is a free, open-source Java toolkit and application suite for Amazon Simple Storage Service (Amazon S3), Amazon CloudFront content delivery network, and Google Storage for Developers.

JetS3t Home

JetS3t Development @ BitBucket.org

45 questions
2
votes
3 answers

How do I get "happy" names using Amazon S3 plugin for Grails (via Jets3t)

References: http://www.grails.org/plugin/amazon-s3 http://svn.codehaus.org/grails-plugins/grails-amazon-s3/trunk/grails-app/services/org/grails/s3/S3AssetService.groovy http://svn.codehaus.org/grails-plugins/grails-amazon-s3/trunk/grails-app/domain/…
longda
  • 10,153
  • 7
  • 46
  • 66
2
votes
2 answers

Way in Java to check if S3 bucket has objects with keys matching a wildcard patterrn

What is a good way from a Scala or Java program to check if an S3 bucket has objects matching a certain key pattern? That is, if i have a bucket named "CsvBucket" how can i check if it contains an object where the key matches the pattern…
Sai
  • 3,819
  • 1
  • 25
  • 28
2
votes
1 answer

Jets3t on Android

I am trying to use the Jets3t library within an Android application, and I keep getting errors with the Rest service when I use the library. 04-27 16:47:39.491: ERROR/S3Service(225): Couldn't initialize a sax driver for the XMLReader I have tried…
Andrew Cetinic
  • 2,805
  • 29
  • 44
1
vote
1 answer

List only the first level of files in jets3t

I am using jets3t to list the files on one of our buckets. And I noticed it returns everything. I would like to traverse the bucket by directory instead of it getting it all at once, It would take too long, so I am curious is there a way to only get…
PHGamer
  • 241
  • 1
  • 5
1
vote
0 answers

Generate Policy for S3 in Java

Is there a way to convert String array to S3 policy so i can pass it the client to upload file directly to S3. I found jets3t which has library to create condition, but it doesn't have any function for just to build policy. Is there a way i can…
user1595858
  • 3,700
  • 15
  • 66
  • 109
1
vote
1 answer

Reading LastModifiedDate for aws-s3 via Jets3t fails in Java-8 but succeeds in Java-7

JetS3t fails to get LastModifiedDate for existing S3 object in Java 8 but succeeds in Java 7. package JsTest import org.jets3t.service.S3Service; import org.jets3t.service.ServiceException; import…
sky
  • 2,531
  • 4
  • 17
  • 15
1
vote
0 answers

Experiencing SSLException connecting to AWS S3 with jets3t library

We are experiencing SSL errors when using the Jets3t library to communicate with S3. We had a similar issue about a year ago with the amazon simple email service that seemed to be caused by amazon upgrading their email servers, which caused SSL…
mcbrooks
  • 11
  • 2
1
vote
2 answers

JetS3t Java Object Invalidation

I've tried looking through the JetS3t API documentation but cannot seem to find the functionality to be able to invalidate existing files that we have on an Amazon CDN after they have been uploaded. Does anyone know if this functionality does exist…
1
vote
1 answer

JetS3t update content\mime type

Due to the problem depicted here, I wish to update the content\mime type of already uploaded files. I am using JetS3t 0.9.0 to retrieve the object of interest, the I use Getting A File's Mime Type In Java to update the update the content\mime type,…
Mr.
  • 9,429
  • 13
  • 58
  • 82
1
vote
1 answer

Is there a way to list objects in a requester-pays flagged Amazon S3 bucket?

I am trying to get a list of object names in the aws-publicdatasets bucket for commoncrawl. I have been looking at using Jets3t to createSignedGetUrl but I am not sure if I can get a list of the objects via the method below: credentials = new…
1
vote
1 answer

S3 Signed URL and multipart upload

I am accessing S3 using signed URLs and Jets3t library. I have built a cipherStream over inputstream so that encryption also happens on the fly during upload. Can I use multipart upload feature where file is divided into multiple parts and uploaded…
vivek garg
  • 283
  • 1
  • 2
  • 15
1
vote
2 answers

JetS3t - connects without exception, but "Invalid Class Name" when I try to do anything else

I appear to be able to connect fine since new RestS3Service doesn't throw an exception. However, when I try to do something like getBucket("name"), then I get: Invalid class name: org.jets3t.service.utils.RestUtils$ConnManagerFactory Any idea how to…
Z Jones
  • 2,015
  • 4
  • 23
  • 42
0
votes
1 answer

Amazon JetS3t API and Glassfish Server

Where do I put the Amazon JetS3t and the related jar files in Glassfish 3? I have a sample Restful Web application which currently uses a Arraylist to maintain objects at back-end, I would like them to be stored as text files on Amazon S3. So I am…
Harsha Reddy
  • 99
  • 1
  • 8
0
votes
1 answer

AWS4-HMAC-SHA256 issue with old and new jets3t

I am working for Amazon S3 service and I have used jets3t for API. Actually its long time ago I have last used jets3t version was : 0.8.1, as now the new jets3t arrived with version : 0.9.6. I am using Java 7. I am trying to connect with S3, but for…
Neelam Sharma
  • 2,745
  • 4
  • 32
  • 73
0
votes
0 answers

How can I get the size of an s3 bucket using Jets3t

I am trying to calculate the total size of an S3 bucket using my Java Spring MVC web application. I am using jets3tfor my S3 access. I have the following method to calculate the total file size of an S3 bucket. public Long getBucketSize(String…
Geo Thomas
  • 1,139
  • 3
  • 26
  • 59