[Laszlo-dev] Upload utility in Laszlo

Sebastian Wagner seba.wagner at gmail.com
Thu Jan 25 04:26:21 PST 2007


yes sure the upload proceeds but once it is complete it throws a http 505
error which means *Server error* cause there is no upload servlet behind it
which really accepts any uploads (I am not a fileSharing Company :D) ... no
but it is up to users to write their Server-Side Uplaod handlers. It is
quite simple but it could be written in Java, PHP, ... whatever language you
prefer or your project is written.
There are tons of sample scripts written for simple JSPs or Servlets.
for example this one includes a servlet:
http://forum.openlaszlo.org/showpost.php?p=12599&postcount=9
or for PHP:
http://forum.openlaszlo.org/showpost.php?p=21045&postcount=38

only magic thing about Flash Uploads is that the Name is always *Filedata*
...


regards
sebastian

2007/1/25, Naresh Kukreja <naresh.kukreja at impetus.co.in>:
>
>  Hi
>
> I have tried the given code for Upload with Openlaszlo
>
> As it simulates me properly the functionality of upload but physically it
> doesn't upload any file to the location mentioned.
>
> Like. I click on browse, then select file and click to upload and it shows
> all proper messages in debug window till onComplete. But it didn't
> physically put the file at location.  I tried with different manner also.
> But no successs…. L pls help me.
>
>
>
> Thanks in Advance.  J
>
>
>
> Naresh
>
>
>
> -----Original Message-----
> *From:* Raju Bitter [mailto:rbitter at laszlosystems.com]
> *Sent:* Wednesday, January 24, 2007 8:19 PM
> *To:* laszlo-dev at openlaszlo.org
> *Cc:* Henry Minsky; Naresh Kukreja
> *Subject:* Re: [Laszlo-dev] Upload utility in Laszlo
>
>
>
> Sebastian Wagner has a working file upload example in his blog:
> http://wagner-sebastian.com/wordpress/2007/01/21/openlaszlo-and-fileupload/
>
> The example files can be found here:
> http://appserver.laszlo-forum.de/lps-latest/laszlo_forum/upload/upload/
>
> Raju Bitter
> OpenLaszlo Community Manager
> rbitter at laszlosystems.com
>
>
> Henry Minsky wrote:
>
> There was some issue with the way Flash 8 upload works, it apparently does
> not post information in exactly a compliant form so that many standard file
> upload servers get confused. I'll forward this to laszlo-dev, and see if
> anyone has a php solution.
>
> Hey everyone, has anyone successfully used the SWF 8 file upload facility
> to upload files to PHP?
>
>
>
>  On 1/24/07, *Naresh Kukreja* < naresh.kukreja at impetus.co.in> wrote:
>
> Hi Henry,
> I searched over the forum as well as some lists too, and found some code
> but not getting proper help from it.
> as I wanna create a file upload utility in Laszlo and PHP.
> I found some code but it just give me the dialog box for Open the file
> when i click to browse button. but after selecting the file the upload
> functionality doesn't work. might be i m doing bit wrong or might be
> code is bit wrong.
> Pls help me out in this regards.
> Thanks in advance
>
> Naresh Kukreja
> Impetus Infotech (I) P.L.
> India
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>
>
>
>
>
>
>


-- 
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
Bleichstraße 92
75173 Pforzheim
Tel.: 0177-7341829
Home: 07231-417456
seba.wagner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070125/3ddec26a/attachment.html


More information about the Laszlo-dev mailing list