Search found 82 matches

by vlad
Mon Nov 30, 2009 9:59 am
Forum: JFileUpload
Topic: Java update breaks the applet
Replies: 9
Views: 16822

Re: Java update breaks the applet

support wrote:BTW: Where did you get the -oem version ?
From the Java automatic update. First time I installed the update it was the "-oem" version. I've uninstalled the update as it was breaking the applet. When I updated again it got the "_17" version.
by vlad
Fri Nov 27, 2009 8:32 am
Forum: JFileUpload
Topic: Java update breaks the applet
Replies: 9
Views: 16822

Re: Java update breaks the applet

I am now using "1.6.0_17" but it fails with both versions.
by vlad
Thu Nov 26, 2009 4:56 pm
Forum: JFileUpload
Topic: Java update breaks the applet
Replies: 9
Views: 16822

Re: Java update breaks the applet

It seems that your demo breaks as well, but not the simple demo, but the JavaScript API version. I get the exact same error. I am also using the JSAPI plugin, so I guess that's where the problem is.
by vlad
Thu Nov 26, 2009 4:50 pm
Forum: JFileUpload
Topic: Java update breaks the applet
Replies: 9
Views: 16822

Re: Java update breaks the applet

Yes.
It seems that only my applet stopped working, your demo works fine. Do you know what might cause the error?
by vlad
Mon Nov 23, 2009 3:18 pm
Forum: JFileUpload
Topic: Java update breaks the applet
Replies: 9
Views: 16822

Java update breaks the applet

I've just updated to "1.6.0-oem" and the applet no longer works:
Exception: java.lang.NoClassDefFoundError: jfileupload/upload/client/MApplet
Please advise.
by vlad
Wed Jul 22, 2009 5:51 pm
Forum: JFileUpload
Topic: Feature request (resume + chunks)
Replies: 16
Views: 29103

Re: Feature request (resume + chunks)

That would be great.

P.S. Is there a way of sending also the expected total file size of the file with each chunk? Or at least with the last chunk, so that the server side script can make sure the file doesn't miss any bytes.
by vlad
Wed Jul 22, 2009 5:34 pm
Forum: JFileUpload
Topic: Retry
Replies: 7
Views: 11375

Re: Retry

I now think the chunk count problem was caused by the server as it doesn't happen anymore. I suspect this happens when the web server is being restarted while the user is uploading a file. Even though it is something that it doesn't happen that often, it is a problem could have been easily handled. ...
by vlad
Wed Jul 22, 2009 11:29 am
Forum: JFileUpload
Topic: Feature request (resume + chunks)
Replies: 16
Views: 29103

Re: Feature request (resume + chunks)

So, you suggest that the server-side script returns the id of the last chunk (for the HEAD request sent for resume) and then the applet will restart from this last id?
Yes. That would make the applet a more reliable upload tool and it doesn't seem very difficult to implement.
by vlad
Tue Jul 21, 2009 9:43 am
Forum: JFileUpload
Topic: Feature request (resume + chunks)
Replies: 16
Views: 29103

Re: Feature request (resume + chunks)

Customizing the server side script to skip the chunks that were already uploaded is easy. However, when struggling to upload a 2GB file over a bad connection, starting the transfer from the beginning (uploading chunks that are already on the server) will waste a few more hours so is not the best opt...
by vlad
Tue Jul 21, 2009 9:39 am
Forum: JFileUpload
Topic: Retry
Replies: 7
Views: 11375

Re: Retry

I traced the error to ProgressPanel.java, inside the "transferStarted" callback function. Seems that this happens only when "progress.info=overallprogressbar". Disabling the overall progress bar stops the array index Java error, however, the file is not uploaded correctly when a retry is needed. The...