Issues with large file(> 2GB) http upload

Upload core product.
Post Reply
oumind
Posts: 4
Joined: Mon Apr 06, 2009 8:12 am

Issues with large file(> 2GB) http upload

Post by oumind »

I have been trying to upload large file using JFileUpload applet (http protocol)


1. For some XP PCs, Thawte root cert is not recognizable by Java plugins (1.4-1.6). How do I import Thawte root cert for Java plugins?

2. For unstable connection, the applet cannot detect network problem and it is always stuck, e.g. 9% completion. So I tried chuck upload, e.g. chunkmode="onfly", chunksize="2097152. However the problem is the final size of uploaded file is different from original file size, e.g. 2GB(upload) vs 2.1GB(original)

Configuration
1. PC with XP Service Pack #2
2. Java plugin 1.4-1.6
3. JFileUpload 2.2
4. Server side - default JSP from add-on section of JFileUpload

Thanks

P.S. Should I use ftp protocol?

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

Re: Issues with large file(> 2GB) http upload

Post by support »

1 - Your question is for SSL ? Thawte should be recognized. Anyway, to import a root CA:
Start->Control Panel ->Java->Security tab->Certificates->Cetificate authorities

2 - Which server-side technology are you using ? PHP, ASP.NET, JSP or ?

oumind
Posts: 4
Joined: Mon Apr 06, 2009 8:12 am

Re: Issues with large file(> 2GB) http upload

Post by oumind »

I am using process.jsp from add-on section.

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

Re: Issues with large file(> 2GB) http upload

Post by support »

With JSP you should be able to upload 2GB file without any problem. For file > 2GB you do need "chunksize". You're using TOMCAT ? If it blocks at 9% then you might have a firewall or web server that close connection. Could you check that ?

oumind
Posts: 4
Joined: Mon Apr 06, 2009 8:12 am

Re: Issues with large file(> 2GB) http upload

Post by oumind »

For chunk upload, the issue is final size of uploaded file is different from original file size, e.g. 2GB(upload) vs 2.1GB(original). I have tried chunk upload a few times, but the results are still negative, e.g. wrong file size.

Parameters :
resume="md5"
retry="3"
chunkmode="onfly"
chunksize="2097152"

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

Re: Issues with large file(> 2GB) http upload

Post by support »

Which servlet engine are you using ? Tomcat ?
So, if you upload a ZIP file > 2.0GB with "chunksize" then the recomposed file is corrupted ?

oumind
Posts: 4
Joined: Mon Apr 06, 2009 8:12 am

Re: Issues with large file(> 2GB) http upload

Post by oumind »

Yes, I am using Tomcat 6 using jdk 1.6 on linux. For small file, e.g. < 100MB, chuck upload is fine.

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

Re: Issues with large file(> 2GB) http upload

Post by support »

Ok, so the problem is only for > 2GB file. Could we have a remote desktop session ?
If so, then drop an email to support(at)jfileupload(dot)com. We can use VNC, GoToMeeting, TeamViewer, Windows Remote Desktop ... as you prefer.

Post Reply