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 : Tuesday, October 15, 2013 6:12:11 AM(UTC)
mmount

Rank: Advanced Member

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

Thanks: 6 times
Hi,

I am curious if the new multi threaded upload is supported by Amazon S3 upload? We are uploading to S3 and renaming images as they are uploaded then when it's all finished (in AfterUpload) we issue a callback to our servers with a list of uploaded files names so we can record links into our database.

If so, our UploadSettings currently looks like this:
Code:
<UploadSettings AutoRecoveryMaxAttemptCount="10" AutoRecoveryTimeout="1000" FilesPerPackage="1" />

Do we just add MaxConnectionCount="3" to enable the feature?

Also, I have a custom progress form - how does this affect the progress events?

Thanks,

Mike

Edited by user Tuesday, October 15, 2013 6:14:05 AM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Wednesday, October 16, 2013 6:09:55 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
It is an equivalent of a scenario when the user opens three different browsers with the uploader, selects files and start the upload in all three browsers. If your logic works correctly in such situations, it should work.
mmount  
#3 Posted : Wednesday, October 16, 2013 11:33:30 AM(UTC)
mmount

Rank: Advanced Member

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

Thanks: 6 times
My logic does work correctly in multiple browser windows but does not appear to work with the threading.

I got a series of errors about objects not being assigned in the BeforeUpload event, an error about "POST requires exactly one file upload per request.", and some others with a final HTTP status code of 403.

I tried to upload six images and eneded up with one entry in the database which pointed to an image that didn't exist.

Mike
Andrew  
#4 Posted : Wednesday, October 16, 2013 6:42:04 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Well, I think it would help to take a look at your current code. If you cannot post it here, please create a support ticket.
mmount  
#5 Posted : Thursday, October 17, 2013 8:55:08 AM(UTC)
mmount

Rank: Advanced Member

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

Thanks: 6 times
I have posted the photo upload page client side code on this forum message.

Mike
Andrew  
#6 Posted : Thursday, October 17, 2013 9:47:58 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Ok, I managed to reproduce the problem with our standard Amazon S3 Demo - it looks like only original image arrives to the server if you set MaxConnectionCount to 3 (or other value). Perhaps the problem affects only Java version and ActiveX works properly.

We will try to fix this problem in the next update.
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.