From dbretoi at kissmetrics.com Thu Jan 21 20:20:44 2010 From: dbretoi at kissmetrics.com (Daniel Bretoi) Date: Thu, 21 Jan 2010 17:20:44 -0800 Subject: [s3-dev] questions regarding copy Message-ID: AWS::S3::S3Object has a public class method called copy, and a public instance method called the same. The public instance method just called the public class method. The public instance method has this to say: copy(copy_name, options = {}) Copies the current object, given it the name copy_name. Keep in mind that > due to limitations in S3?s API, this operation requires retransmitting the > entire object to S3. while the public class method this: copy(key, copy_key, bucket = nil, options = {}) Makes a copy of the object with key to copy_name. Give that the instance method uses the class method, why does not the class method warn about limitations in the S3's API regarding retransmission? I've looked at the REST API which has this COPY function: http://docs.amazonwebservices.com/AmazonS3/2006-03-01/API/ looks like the source code does include 'x-amz-copy-source' Basically my question boils down to: Is there retransmission happening? i.e. does it have to download the file, and then upload again? If not, is the documentation off? Thanks, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: