Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
alfafado  
#1 Posted : Sunday, August 15, 2010 8:01:40 PM(UTC)
alfafado

Rank: Member

Groups: Member
Joined: 6/29/2010(UTC)
Posts: 13

Hi,

Is it possible to use the setHashAlgorithm with Amazon S3 uploads?

I have tried but I get an error:

'Invalid according to Policy: Extra input fields: hashcodesha_1'

If it's not possible what validation is available for S3 uploads?

many thanks.
Dmitry.Obukhov  
#2 Posted : Monday, August 16, 2010 1:30:45 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

Hash algorithm is used to avoid duplicate files on the server side. On the other hand, it can be used to determine the corruption of uploaded files.
Please could you explain for what purpose do you want to use setHashAlgorithm property?

Looking forward to your reply.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
alfafado  
#3 Posted : Monday, August 16, 2010 4:43:44 PM(UTC)
alfafado

Rank: Member

Groups: Member
Joined: 6/29/2010(UTC)
Posts: 13

Hi,

I want to check that files have been uploaded correctly.
Dmitry.Obukhov  
#4 Posted : Monday, August 16, 2010 6:53:27 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

Unfortunately, you are not able to use setHashAlgorithm property with Amazon S3 uploads because it will be impossible to get hash value on the server side (in the case with Amazon).
I have found "Check data integrity" post on Amazon site. You can read it. However, this functionality is not supported yet. We will try to fix it in the near future. I will keep you informed.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.