Re: [Gambas-user] Using gb.web in my own gambas web server

2009-07-04 Thread guiodic
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 ope

Re: [Gambas-user] Using gb.web in my own gambas web server

2009-06-30 Thread guiodic
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-tp24266408p24269830.html Sent from the gambas-user ma

Re: [Gambas-user] Using gb.web in my own gambas web server

2009-06-30 Thread Benoît Minisini
> Benoît Minisini wrote: > > As stated in the documentation, gb.web allows you to implement *CGI* > > scripts, > > i.e. executables that are run by the HTTP server and that return the HTTP > > response on their standard output stream. > > > > Regards, > > > > -- > > Benoît > > yes, of course. So, t

Re: [Gambas-user] Using gb.web in my own gambas web server

2009-06-30 Thread guiodic
Benoît Minisini wrote: > > As stated in the documentation, gb.web allows you to implement *CGI* > scripts, > i.e. executables that are run by the HTTP server and that return the HTTP > response on their standard output stream. > > Regards, > > -- > Benoît > > > yes, of course. So, the

Re: [Gambas-user] Using gb.web in my own gambas web server

2009-06-30 Thread Benoît Minisini
> Hi Benoit, hi to all. > > You kwon I'm the author of BaShare, a simple web server with a GUI useful > in file sharing. > > I'm trying to implement file reception in BaShare from a web form like > this: > > enctype='multipart/form-data'> > type='submit'> > > > > So it was very useful if was po

[Gambas-user] Using gb.web in my own gambas web server

2009-06-29 Thread guiodic
Hi Benoit, hi to all. You kwon I'm the author of BaShare, a simple web server with a GUI useful in file sharing. I'm trying to implement file reception in BaShare from a web form like this: So it was very useful if was possible to use gb.web in my application. I tryed this: PUBLIC SUB Soc