Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Amazon S3 incorrect upload settings on first upload only
Rank: Newbie
Groups: Member
Joined: 7/5/2010(UTC) Posts: 6
|
The first upload (only the first) seems to call events in a unexpected order ; the first file upload is sent to http://localhost (which indicate that the upload occurs before the amazon s3 settings are set by AmazonS3Extender.prototype._control$BeforeUpload). It seems like the Java Uploader is starting the upload before waiting for the _control$BeforeUpload callback to end.
This is on the Java version on OSX with Firefox, haven't try other environments yet.
For the moment I created a hack where I upload the first file twice whatever : ugly fix.
|
|
|
|
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 I am not able to assist you with this problem. This is an issue of Java or Firefox. Our developers confirm this fact. If you have any problems or questions, please feel free to let me know. Edited by user Monday, July 12, 2010 12:04:16 PM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 7/5/2010(UTC) Posts: 6
|
Ok well I will share my fix at least.. This is intended to work with the Amazon S3 Advanced demo script : Code:
var photoIndex = 0; // Post photo index
var firstTwice = false // Upload first file twice
function sendItem() {
if (!cancelled) {
if(photoIndex == 0 && uploadCount ==1 && !firstTwice)
{
uploadCount = 0
firstTwice = true
}
[...]
If this is indeed confirmed to be a firefox+java only problem you could also add a condition to check which browser and uploader you are on. I hope Aurigma can provide a fix for this as it claims the solutions are compatible with "all browsers" and OS (I know it is probably a S3 specific problem adn it is a new feature but anyway)
|
|
|
|
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)
|
Jean-Philippe, Thank you for your workaround. If you have any questions or problems, please let me know. Edited by user Monday, July 12, 2010 12:03:49 PM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Amazon S3 incorrect upload settings on first upload only
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.