i've successfully implemented the SWFUpload with WO.

unfortunately i didn't know how to play nice with all the javascript SWFUpload and WO stuff so i placed the PHP upload feature (which is quite nice with smooth ajax interface) in an inline frame and send the results to a DA for processing / inserting file information into my WOApp. i pass variables into the PHP code to limit upload size, the # of files to upload, path to write, etc...

i'll try to "clean" this up and remove it from my project for sharing.

./james

{ primaxSTUDIO : http://primaxSTUDIO.com : 513.772.1223 }



On Apr 1, 2008, at 4:49 AM, Owen McKerrow wrote:

Hi Guys,

Thanks for the suggestions. I was after something specifically that stopped the user even trying to upload something so they don't waste time sitting around waiting for something to upload only have it to fail half way through.

I will check out Joshua's implementation.

Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

"I like the way this project has somehow, against all common sense, got itself made."
   - Peter Jackson,  "The Lord of The Rings"


On 01/04/2008, at 3:01 PM, Chuck Hill wrote:

On Mar 31, 2008, at 6:46 PM, Miguel Arroz wrote:

Hi!

The KISS solution: configure the maximum size of a request in Apache itself, using the LimitRequestBody option in the configuration.

You should find a way to handle nicely the error pages the user will see when submitting a file too large. This of course depends on your setup, if you are doing the upload using some Ajax trickery or not, etc.

If you don't want to use the Apache thing, you should be able to do a streaming upload (stream it to disk) and cut off the copying after a certain point. It should be straightforward to return an error message.

Chuck



On 2008/04/01, at 02:04, Owen McKerrow wrote:

Hi All,

Just wondering if anyone has any recommendations on what to use to limit the size of files uses upload. Im currently looking at http://swfupload.org/. has anyone had any experience with it, in particular getting it to play nice with a WOApp ?

Or is there something better out there ?

Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "As of tomorrow, employees will only be able to access the building using individual security cards. Pictures will be taken next Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp


_______________________________________________
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/arroz%40guiamac.com

This email sent to [EMAIL PROTECTED]

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



_______________________________________________
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/chill%40global-village.net

This email sent to [EMAIL PROTECTED]

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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/jameslist%40primax.com

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