Henric,
We had a similar problem and have just resolved it by using an very small
FTP applet on the client side. You will need to sign the applet so that it
can request permission to read the users local drive.
THE BENEFITS ARE SUBSTANTIAL!
Using HTTP post a 9MB file took roughly 14 minutes and consumed a ton of
server resources.
Using FTP Applet the exact same file took 13 seconds.
In your applet you should enable privledge before and disable after using
it.
The below works with Netscape, I'm not sure about Explorer so if anyone else
has done this hopefully they can comment.
try {
PrivilegeManager.enablePrivilege("UniversalFileAccess");
browseroutput.setText("\tSuccess!");
} catch (netscape.security.ForbiddenTargetException e) {
browseroutput.setText("\tFailed! Permission to read system denied by
user.");
} catch (Exception e) {
browseroutput.setText("\tFailed! Unknown exception while enabling
privilege.");
e.printStackTrace(ps);
}
-----Original Message-----
From: Henric Larsson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 05, 1999 4:47 PM
To: [EMAIL PROTECTED]
Subject: file upload speeds
hi,
I have a big problem, I'm writing an app that allows a user to upload
Quiktime movies from a browser to a database, the movies can be rather large
sometimes 4 - 10 Mb. I've been doing small uploads before, mostly gif's and
jpg's
I was expecting the performance to be just a little bit slower than
downloading a file through a servlet, but the times I get are really poor.
around 500K / minute
how much time should it take to upload a file from a webbrowser when using a
fileupload servlet.
it's on a 100Mbit lan so the network speed isn't limiting.
I was thinking of creating an applet to do this thing instead, but applets
can't read files on the client machine. Does anyone have any suggestions or
ideas?
I'd really appreciate any help
thanks
.henric
| www.abelbaker.com | [EMAIL PROTECTED] |
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html