|Pliant talk forum
Discussion: File Upload
Need to handle file upload somehow
|Message posted by maybe Boris Reitman on 2008/06/16 17:20:01
|The old http server handled file upload. What do you think is the
best way to implement file upload in http proxy ?
I am thinking -- maybe have a flag for "input" field that will tell http proxy
to handle upload and put inside it the temporary filename for the uploaded file ?
Do we want file upload support in UI ?
|Message posted by maybe Hubert Tonneau on 2008/06/19 22:33:19
|There is a dirty way to provide file upload in the HTTP proxy.
It is implemented in /pliant/protocol/http/file.pli
Basically, the HTTP proxy sends an iframe to the web browser, which is
served by another web site that the HTTP proxy forwards to another Pliant
HTTP server (the one implemented in /pliant/protocol/http/file.pli)
This is ugly, so I have plan to replace it.
What I will do is add an 'upload' option in 'button' widget, so that the
HTTP proxy will provide a file upload field, and when the button is hit
on the web browser, the HTTP proxy stores the uploaded file in the clipboard
that the Pliant UI application can use.
|Message posted by maybe Boris Reitman on 2008/06/22 19:38:16
|I am working on it today, I let you know how far I get.