Issues with large file(> 2GB) http upload
Posted: Mon Apr 06, 2009 8:28 am
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?
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?