""Chris Mosser" <cmosser_at_comcast_dot_net>" wrote in comp.lang.java:
I'm looking for an applet that allows for multiple file uploads. I found
jupload and am considering using that, but I might have a couple issues.
I need to build a web app for a print shop, that allows their clients to
upload their finished files. Problem is, these files are likely to be
up to 10 megs each with the possibility of having multiple files at one
time. I don't think standard http protocol is the best solution for
these file sizes, and have been pretty much been told that by tech
support at the hosting server. My client wants a web based system for
ease of use for the enduser. Anyway, I was thinking of jupload but
don't know how exactly it transfers files to the server. If jupload
doesn't work by means of ftp, does anyone know of an applet that is
basically an ftp program itself, that can be embedded in a web page.
Hopefully you guys understand what I'm try to explain. Thanks in
advance.
FTP would definitely be a better choice, but the problem you'll likely
run into there is in serving users who are behind firewalls where the FTP
ports are blocked (a common practice in my experience).
If your ISP is using Apache Web Server (
http://www.apache.org/ ) then
this really shouldn't be a problem. If they're not using Apache, then
consider switching to an ISP that does because it is the defacto standard
for web hosting, thus literally just about everything is tested with it
which means you'll have a much better success rate with the solutions you
choose (in addition to having more flexibility in what's available to you
since more options will simply be available).
HTTP will work just about as efficiently as FTP if you can be sure
that the file data is transferred as 8-bit binary (when transferred via 7-
bit binary, as is generally the case with eMail due to the way SMTP works,
special encoding mechanisms are used which actually wind up using more
bandwidth in the end) -- I'm sorry, I'm not directly familiar with the
nitty gritty details of HTTP as far as data transfers are concerned, which
is why I'm unsure of the 7-bit/8-bit issue (if anyone else happens to know,
please feel free to chime in here with clarification (note that RFC
references are also a nice touch)).
A Google.Com search as follows appears to bring up many options,
including the one you mentioned:
Google.Com: +java +"upload applet"
http://www.google.com/search?q=%2Bjava+%2B"upload+applet"
I hope this helps.
--
Randolf Richardson, pro-active spam fighter -
rr@8x.ca
Vancouver, British Columbia, Canada
Sending eMail to other SMTP servers is a privilege.