jfileupload can't resume upload when rename file first

Upload core product.
Post Reply
wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

jfileupload can't resume upload when rename file first

Post by wilson »

I'm upload before rename the file name with template=:timestamp:_:identifier::extension:
but when we setup this parameter, the resume function can not work.so how can i rename the file and also resume the file with break point?
thanks

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: jfileupload can't resume upload when rename file first

Post by wilson »

we buy the jfileupload premium version $450, pls help us.

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

Re: jfileupload can't resume upload when rename file first

Post by support »

Resume does not make sense with timestamp in filename. Each file with have a unique filename so duplicated filename can be found. Are you sure you want to use timestamp in template parameter?

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: jfileupload can't resume upload when rename file first

Post by wilson »

But how we keep the file unique identification?
When somebody else upload the other file with same name, it will replace the previous person upload the file in the server. So i put the timestamp parameter.

Thanks.

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

Re: jfileupload can't resume upload when rename file first

Post by support »

Could you try:
<PARAM NAME="resume'' VALUE="true">
<PARAM NAME="overwrite'' VALUE="indexrename">
or:
<PARAM NAME="overwrite'' VALUE="timerename">

Does it help?

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: jfileupload can't resume upload when rename file first

Post by wilson »

I'm sorry to reply you so late. i add the overwirte=indexrename and resume=true, it will be same with template parameter, it does not work.
so how i can resolve this problom.

thanks

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

Re: jfileupload can't resume upload when rename file first

Post by support »

Could you please send you JavaScript to support(at)jfileupload(dot)com

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: jfileupload can't resume upload when rename file first

Post by wilson »

<PARAM NAME="chunksize" VALUE="1073741824">
<PARAM NAME="chunkmode" VALUE="onflyrange">
<PARAM NAME="checksum" VALUE="md5">
<PARAM NAME="resume" VALUE="true">
<PARAM NAME="overwrite" VALUE="indexrename">

yes, i found the first time when we upload the file(Example: abc.avi), resume function can work fine.But we upload the abc.avi again, the server will create the abc_1.avi, but the resume function will be not work. Everytime when we reupload the file, it will start with 0%.

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

Re: jfileupload can't resume upload when rename file first

Post by support »

You mean that resume does not work for abc_1.avi file?

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: jfileupload can't resume upload when rename file first

Post by wilson »

right, just fine with the first original file, i think the problem is also same with the template parameter, because the abc.avi is not equal the abc_1.avi, so resume function is not work.

Post Reply