From: <jerome.multrier@gm...>  20050811 14:56:03

Thanks for your link, it's the file from which we tested the upload :) (one= =20 of the rare 'usefull' links found on the internet about this topic...) So we found THE problem. Boa (and/or cgicc) runs cgi as wwwdata and tries= =20 to write temporary files in /tmp. By default, rights on /tmp are 755 for=20 root:root. Could you please modify access right for this directory (in /etc/fstab..?)= =20 in the buildroot ? Thanks in advance,=20 Cyril and Jerome ! 2005/8/10, Craig Hughes <craig@...>: >=20 > And sample code.... > http://www.cgicc.org/doc/upload_8cpp.html >=20 > C >=20 > On Aug 10, 2005, at 9:03 AM, Craig Hughes wrote: >=20 > Looks like cgicc has facilities for that already: > http://www.cgicc.org/doc/classcgicc_1_1FormFile.html >=20 > C >=20 > On Aug 10, 2005, at 7:23 AM, J=E9r=F4me Multrier wrote: >=20 > We are currently trying to upload a file via a http form and a C CGI to= =20 > the gumstix, but we can't make it work, and can't find any relevant examp= le=20 > ... > Does anybody knows how to do it properly ..? :) >=20 >=20 > 2005/8/10, J=E9r=F4me Multrier <jerome.multrier@...>: > >=20 > > thanks ! > > The guy who had problems with that found a C library : cgicc. > >=20 > > 2005/8/9, Craig Hughes < craig@...>: > > >=20 > > > J=E9r=F4me, > > > in case you didn't find anything yet: > > >=20 > > > http://hoohoo.ncsa.uiuc.edu/cgi/env.html > > >=20 > > > C > > >=20 > > > On Aug 2, 2005, at 3:11 AM, J=E9r=F4me Multrier wrote: > > >=20 > > > Hello ! > > > We are building a little CGI to interact with our system. > > > I'm a http newbie and would like to interact with the user.=20 > > > What are the possiblities to get data from a form ? <%} > > > GET, POST in argv[1], getenv() ...? > > > If you have some little code .. > > > Thanks in advance!! > > >=20 > > > =20 > > > Jerome > > >=20 > > >=20 > > >=20 > >=20 > >=20 > > =20 > > Jerome > >=20 >=20 >=20 >=20 > =20 > Jerome >=20 >=20 >=20 >=20 =20 Jerome 