On 01/10/2011 11:44 AM, Jim Popovitch wrote:
> On Sun, Jan 9, 2011 at 01:35, Jobe Bittman<j...@opencandy.com>  wrote:
>> Were you able to see where to fix that?
> Hi Jobe,
>
> Here's the patch output of what I changed and tested.  It's inline
> here so that can be verified first, rather than having a file that ppl
> immediate download and apply.  ;-)
>
Hi Jim,

I'm afraid that the only reliable way to copy all the attributes across 
(i.e. mime type, acl, s3cmd stored attribs, etc) is to run HEAD request 
on the object to learn all the current attribs and then COPY with them 
included.

Your "guess_type()" approach may work in some cases but you may still 
lose all the other attribs along the way.

Michal

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to