Well, I wrote the parsing of multipart form. But I have another issue.

I must read from the socket strem and write to a file stream.
But I must insert a pause (a very long pause...). If not, the socket stream
ends before the file is written.
I must use SLEEP, not WAIT, because this read/write operation is into a
socket_read sub.
Then the GUI freeze.

I think the solution is a separate process. 
I would like to use gb.web for it, but I have no idea how to use it in my
own "mini-server".

Best regards and thank you in advance.



guiodic wrote:
> 
> 
> 
> Benoît Minisini wrote:
>> 
>> It depends on what you will do with your CGI script.
>> 
> 
> my CGI must save the file that browser send via the form.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-gb.web-in-my-own-gambas-web-server-tp24266408p24340338.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to