Rank: Newbie
Groups: Member
Joined: 10/14/2011(UTC) Posts: 3
|
Hi All! I use Aurigma uploader on my site for many years. Now I want to implement splitting large files by chunks. But this option seems not working: regardless of file size I see only one POST request in browser console. Does anyone know what could be wrong? There is my code below: Quote: <link rel="stylesheet" type="text/css" href="<% aurigma_local_path %>/fh/css/aurigma.htmluploader.control.css" /> <script src="<% aurigma_local_path %>/fh/aurigma.imageuploaderflash.min.js"></script> <script src="<% aurigma_local_path %>/fh/aurigma.htmluploader.control.js"></script>
<script type="text/javascript"> var uploader = $au.imageUploaderFlash({ id: uploaderID, width: '100%', height: '390px', type: 'html|flash', licenseKey: '<% constants.Server.AURIGMA_UPLOADER_KEY %>', enableDescriptionEditor: false, enableRotation: false, flashControl: { codeBase: '<% aurigma_path %>/fh/aurigma.imageuploaderflash.swf' }, uploadButtonText: "", uploadSettings: { chunkSize: 4096, actionUrl: '/uploader', redirectUrl: '/uploader/finish', charset: 'utf-8' }, restrictions: { maxFileCount: 150 }, metadata: { additionalFormName: "upload" } }); </script>
|
|
|
|
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)
|
What version are you using? The chunk upload feature was implemented in HTML5 uploader in the version 8.5.49, so if you are using the older version, it won't work.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 10/14/2011(UTC) Posts: 3
|
My version is 8.0.98.0. But, looking into the code of aurigma.uploader.js, I see the following: Quote: chunkSize: function (size) { /// <summary> /// Get or set size of the chunk. /// </summary> /// <param name="size" type="Number"> /// Max file size per one chunk. Set to zero to disable upload by chunks. /// </param> /// <returns type="Number" /> },
So I think it should be implemented in my version. May be I'm wrong?
|
|
|
|
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)
|
No, this feature is not available in 8.0.x, only in 8.5.49 and higher.
aurigma.uploader.js is for ActiveX/Java.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 10/14/2011(UTC) Posts: 3
|
Andrew, thank you for the explanation! So I have to ask my customer about upgrading the uploader.
|
|
|
|
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.