Hi thron, thanks for the link. Let me try to clarify a bit:
I just bring up the file-selector and send the file right away (using the snippet I provided in my earlier mail). This works fine, when I just use a regular web-page and I was just wondering if there are some drawbacks with that. Everybody seems to use iFrames (as in the Upload-Widget contribution - which in turn stalls or has huge performance impact in 1 of 10 tries). So let me split the question into two: ;-) Is there any know drawback with that approach (file-size, file-type or whatever). Why does the upload-widget use iFrames, if using a invisible form seems much more straight-forward? Any hint appreciated andy On 18.12.09 22:04, "thron7" <[email protected]> wrote: > Andy, > > I'm not sure but there was a thread recently involving an invisible form > [1]; maybe that helps. > > T. > > [1] http://old.nabble.com/forum/ViewPost.jtp?post=26706961&framed=y > >> Hi there, >> >> I just want to send a file to my server and was wondering what the >> simplest >> way is to create an (invisible) upload-form in Qooxdoo, only showing the >> 'select' button.... (the user just selects a file from the file-dialog and >> this file is sent immediately). >> >> <form action="/myUploadReceiver.sh" enctype="multipart/form-data" >> method="post"> >> <input type="file" name="fileToUpload" onchange="uploadIt(event)"> >> <input type="submit" value="Upload"> >> </form> >> >> I saw the UploadWidget, but I don't really understand, why it needs such >> complex mechanisms (like iFrames....) to simply send a file. >> >> Could someone shed some light on this? >> >> Sorry, if this questions sound dumb, but we're not really the Internet >> Client/Server people over here ;-) >> >> thx >> >> andy >> >> >> >> >> ----------------------------------------------------------------------------->> - >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> >> > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
