Copying an S3Object

View: New views
3 Messages — Rating Filter:   Alert me  

Copying an S3Object

by Greg Hulands-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm unsure how to copy an object with out having to read it and then  
write it. The S3 api allows for a remote copy - maybe jets3t was built  
before this was added to s3. Can you advise on how to do the copy or  
if you are planning on adding this if there is  a time frame?

Thanks,
Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Copying an S3Object

by James Murty-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Greg,

The last major release of JetS3t (0.6.0) was released before S3 supported copy operations so it did not include this feature, but the current code base does. The latest code has a number of new methods: S3Service#copyObject, S3Service#moveObject, S3Service#renameObject, and S3Service#updateObjectMetadata, with analogues in the S3ServiceMulti class.

If you are familiar with the CVS source code management program, you can check out the latest version of the JetS3t code from here:
https://jets3t.dev.java.net/source/browse/jets3t/)

Alternately, you can download a recent pre-release package from here if you don't want to build the libraries yourself:
http://jets3t.s3.amazonaws.com/jets3t-0.6.1-alpha_2.zip).

Cheers,
James


On Fri, Jun 13, 2008 at 6:06 PM, Greg Hulands <ghulands@...> wrote:
Hi,
I'm unsure how to copy an object with out having to read it and then write it. The S3 api allows for a remote copy - maybe jets3t was built before this was added to s3. Can you advise on how to do the copy or if you are planning on adding this if there is  a time frame?

Thanks,
Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...




--
http://www.jamesmurty.com

Re: Copying an S3Object

by Greg Hulands-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,
Thanks for the info. Greatly appreciated. Your framework's very easy  
to use.

cheers,
Greg

On 13/06/2008, at 6:58 PM, James Murty wrote:

> Hi Greg,
>
> The last major release of JetS3t (0.6.0) was released before S3  
> supported copy operations so it did not include this feature, but  
> the current code base does. The latest code has a number of new  
> methods: S3Service#copyObject, S3Service#moveObject,  
> S3Service#renameObject, and S3Service#updateObjectMetadata, with  
> analogues in the S3ServiceMulti class.
>
> If you are familiar with the CVS source code management program, you  
> can check out the latest version of the JetS3t code from here:
> https://jets3t.dev.java.net/source/browse/jets3t/)
>
> Alternately, you can download a recent pre-release package from here  
> if you don't want to build the libraries yourself:
> http://jets3t.s3.amazonaws.com/jets3t-0.6.1-alpha_2.zip).
>
> Cheers,
> James
>
>
> On Fri, Jun 13, 2008 at 6:06 PM, Greg Hulands <ghulands@...>  
> wrote:
> Hi,
> I'm unsure how to copy an object with out having to read it and then  
> write it. The S3 api allows for a remote copy - maybe jets3t was  
> built before this was added to s3. Can you advise on how to do the  
> copy or if you are planning on adding this if there is  a time frame?
>
> Thanks,
> Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>
>
>
> --
> http://www.jamesmurty.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...