verifying downloads done via S3ServiceSimpleMulti

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

verifying downloads done via S3ServiceSimpleMulti

by amygdala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[jets3t is a GREAT library-- really useful!]

I am trying to figure out how to verify downloads to files done via S3ServiceSimpleMulti and DownloadPackage.  It seems the S3Objects passed to the DownloadPackage constructors do not become fully instantiated after the download, so calling verifyData on such an object does not work.  It is not clear to me from the API how to hook into the downloaded object information for verification instead.  [Does the downloadObjects method perform the verification for me?-- as far as I could tell that was not the case either.]

   thanks,
   Amy

Re: verifying downloads done via S3ServiceSimpleMulti

by James Murty-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Amy,

JetS3t does not automatically verify files downloaded from S3, though it does verify uploads.

Thanks for pointing out that the DownloadPackage's S3Object is not updated with the downloaded object's metadata, this is definitely an oversight. I have just committed a fix for this problem to the source code repository.

If you can use the latest code from the CVS repository, the S3Object#verifyData method will now work for verifying that the downloaded data is 100% correct.

Hope this helps,
James

---
http://www.jamesmurty.com


On Wed, Jan 14, 2009 at 11:32 AM, amygdala <info@...> wrote:

[jets3t is a GREAT library-- really useful!]

I am trying to figure out how to verify downloads to files done via
S3ServiceSimpleMulti and DownloadPackage.  It seems the S3Objects passed to
the DownloadPackage constructors do not become fully instantiated after the
download, so calling verifyData on such an object does not work.  It is not
clear to me from the API how to hook into the downloaded object information
for verification instead.  [Does the downloadObjects method perform the
verification for me?-- as far as I could tell that was not the case either.]

  thanks,
  Amy
--
View this message in context: http://www.nabble.com/verifying-downloads-done-via-S3ServiceSimpleMulti-tp21447745p21447745.html
Sent from the JetS3t Users mailing list archive at Nabble.com.


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