Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
SK  
#1 Posted : Monday, June 3, 2019 12:59:19 AM(UTC)
SK

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>

Andrew  
#2 Posted : Tuesday, June 4, 2019 4:06:37 AM(UTC)
Andrew

Rank: Advanced Member

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

Thanks: 2 times
Was thanked: 26 time(s) in 26 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.
SK  
#3 Posted : Tuesday, June 4, 2019 9:32:38 PM(UTC)
SK

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?

Andrew  
#4 Posted : Thursday, June 6, 2019 8:35:00 PM(UTC)
Andrew

Rank: Advanced Member

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

Thanks: 2 times
Was thanked: 26 time(s) in 26 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.

SK  
#5 Posted : Friday, June 7, 2019 1:01:57 AM(UTC)
SK

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.
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.