Thanks for your link, it's the file from which we tested the upload :)
(one of the rare 'usefull' links found on the internet about this
So we found THE problem. Boa (and/or cgicc) runs cgi as www-data and tries to write temporary files in /tmp. By default, rights on /tmp are 755 for root:root.
Could you please modify access right for this directory (in /etc/fstab..?) in the buildroot ?
Thanks in advance,
Cyril and Jerome !
And sample code....COn Aug 10, 2005, at 9:03 AM, Craig Hughes wrote:Looks like cgicc has facilities for that already:COn Aug 10, 2005, at 7:23 AM, Jérôme Multrier wrote:We are currently trying to upload a file via a http form and a C CGI to the gumstix, but we can't make it work, and can't find any relevant example ...
Does anybody knows how to do it properly ..? :)
2005/8/10, Jérôme Multrier < email@example.com>:thanks !
The guy who had problems with that found a C library : cgicc.2005/8/9, Craig Hughes < firstname.lastname@example.org>:Jérôme,in case you didn't find anything yet:COn Aug 2, 2005, at 3:11 AM, Jérôme Multrier wrote: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.
What are the possiblities to get data from a form ? <%-}
GET, POST in argv, getenv() ...?
If you have some little code ..
Thanks in advance!!