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

Notification

Icon
Error

Options
Go to last post Go to first unread
mmount  
#1 Posted : Wednesday, May 8, 2013 11:36:05 AM(UTC)
mmount

Rank: Advanced Member

Groups: Member
Joined: 11/30/2012(UTC)
Posts: 61

Thanks: 6 times
Hi,

I am using the Java uploader and have noticed a larger number of errors when uploading photos than I expected. In almost all cases a portion of the selected photos are uploaded, then after the failure, the user selects the upload button again to continue uploading. I want to implement an automatic retry to avoid having the user deal with these connection issues.

To force an "error" so I could test I have called the cancelUpload function after each package is uploaded. However, I keep getting the popup telling the user they have cancelled the upload, followed by the delay until the popup closes, then finally the upload tries again. I would like to eliminate the message built into the uploader.

Alternatively, I did notice that the Uploader has an UploadSettings.AutoRecoveryMaxAttemptCount property which would seem to be a built in version of what I want to do. However, it states that the FilesPerPackage property should be set to one. I am uploading to Amazon S3 and am not sure what event code changes I would need to make it work properly. I am uploading 3 different sized images and it appears all three sizes go in one package currently.

So, should I use the AutoRecovery options when I'm uploading multiple size images to S3 and renaming them on the way?

Or, how do I get rid of that error message popup?

Thanks,

Mike

mmount  
#2 Posted : Thursday, May 9, 2013 5:47:56 AM(UTC)
mmount

Rank: Advanced Member

Groups: Member
Joined: 11/30/2012(UTC)
Posts: 61

Thanks: 6 times
I have decided to at least temporarily go the built in method. A quick test looks like nothing changes with the FilesPerPackage setting.
vitaly  
#3 Posted : Saturday, May 11, 2013 2:31:02 AM(UTC)
vitaly

Rank: Advanced Member

Groups: Member
Joined: 12/19/2012(UTC)
Posts: 164

Was thanked: 8 time(s) in 8 post(s)
Hi Mike,

Currently, it is not possible to turn off the error message. However, if you really need it, please let me know and I will talk about it with our developers. Probably they will add the feature.

Regarding the AutoRecoveryMaxAttemptCount and FilesPerPackage, I recommend you use default values for these params.

Best regards,

Vitaly Kustov

Aurigma Technical Support

Users browsing this topic
Guest
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.