PDA

View Full Version : file upload, anyone ?


bernardsirius
10-06-2004, 02:38 AM
that pretty much says it...
I couldn't find any example with file upload functionality. Is it at all feasible ?

Bernard

antun
10-06-2004, 08:08 AM
The ability to do an upload is a limitation of the Flash player. That said, people have built Laszlo apps that work around this. One way is to pop up a small browser window that handles the upload so that the user doesn't navigate away from the app.

-Antun

morgan
11-04-2004, 12:06 PM
Handling uploads within a servlet container can happen with JSP. So if you can do a strict POST FROM the FLASH to a JSP handler you can prolly be golden.

bernardsirius
11-05-2004, 03:11 AM
thanks everybody for answering my question: it put me on the track to searching a solution outside laszlo. Now we've got something pretty satisfying.

:-)

antun
11-05-2004, 08:42 AM
So if you can do a strict POST FROM the FLASH to a JSP handler you can prolly be golden.

That's just the problem - you can't do the right kind of POST from within the Flash player; it's a security restriciton.

The cleanest way that I've heard of is to pop open a small upload browser window, and handle it in there.

Take care,

Antun

morgan
11-05-2004, 01:57 PM
Originally posted by antun


The cleanest way that I've heard of is to pop open a small upload browser window, and handle it in there.


Ah well regardless that is a VERY reasonable trade-off in my book...

abdulhye
04-03-2009, 02:48 AM
The cleanest way that I've heard of is to pop open a small upload browser window, and handle it in there.
Antun

Antun wana explain this solution please ?

antun
04-03-2009, 05:17 AM
That statement is out-of-date now. Today you can do file upload directly from the Flash Player.

There's an OpenLaszlo component together with an example in the incubator/uploader/ directory.

-Antun