How does chunking and Resumable upload worktogether ?

Upload core product.
Post Reply
amrish_deep
Posts: 40
Joined: Tue Jun 17, 2008 5:14 am

How does chunking and Resumable upload worktogether ?

Post by amrish_deep »

Is there any way where the Jfileupload applet chunks only if the file size exceeds some limit though we include chunk size parameter in aspx?I need only the files of size>1.5GB to be chunked.

I also need the server side code for the Resume feature combined with chunking.Currently I have implemented code for Resume feature with out chunking.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: How does chunking and Resumable upload worktogether ?

Post by support »

You need only the files of size > 1.5GB to be chunked and the chunksize will be < to 1.5GB (for instance 500 MB), correct ?

amrish_deep
Posts: 40
Joined: Tue Jun 17, 2008 5:14 am

Re: How does chunking and Resumable upload worktogether ?

Post by amrish_deep »

Yes, I need the chunking to work only for the files of size>1.5GB though the chunksize we pass to the applet is (for example) 512MB.

Resume feature is not working with chunking.Any help in this please?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: How does chunking and Resumable upload worktogether ?

Post by support »

To make resume works with chunking:
<PARAM NAME="overwrite" VALUE="false">
<PARAM NAME="resume" VALUE="true">
<PARAM NAME="chunksize" VALUE="somevalue">
If upload stops in the middle of chunk 5 then on next upload attempt, the applet will skip chunk 1 to 4 because of 'overwrite=false' and will resume chunk 5 and continue upload until the end of chunks.

However, do not use:
<PARAM NAME="chunkmode" VALUE="onfly"> and avoid "template" parameter.
The drawback is the chunks (temporary) are created locally before upload.

Does it help ?

Post Reply