I don't think you'll have much luck doing dynamic zipping on the upload side, browsers don't give you much control over file inputs, for security reasons.  You could write an applet that does this, where you drag a file or directory onto the applet, which zips it and sends it to a DirectAction or something.


On May 27, 2006, at 1:23 AM, Gennady Kushnir wrote:

To deal with low UP bandwidth uploaded file should be compressed on the client side. So that is NOT server-side WO app's affair.
Server-side affair will be to decompress incoming zip file. 
java.util.zip package will help with that task.

I've implemented unzipOnTheFly upload behavior on my app. If you need it - I may send you reusable component, I made.

Regards,
Gennady Kushnir



On 27.05.2006, at 1:49, Randy Wigginton wrote:

I’ve created a few pages that use the file upload feature.  It works great, I have no problems, but I’d like to make it better if I can.

 

Is it possible to zip the file as it is being sent up to the server?  Sometimes the files are quite large, and most users do not have the same bandwidth UP as they do DOWN.

 

Has this already been done, or is this just wishful thinking?

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to