Yun, curl and process: error? [urgent]
i've got big stupid problem , need solve today
for our project @ makerfaire torino: expose tomorrow...
so if can appreciated , start of love, beer, presents, goods, , on!
and if in turin, tomorrow, yes, give really!!! xd xd
so, problem: need send file (anemopark.csv) mysql database on altervista,
if write command in shell inside linino
it works charme
if insert in arduino sketch, this
it doesn't work anymore, if use test sketch without else command (and related declarations, obviously).
i tried runshellcommand instead of runshellcommandasynchronously, same failure
no result.
i'm going mad!
if works inside linino shell
why doesn't work inside arduino sketch?
same command, same sintax!
is process related problem?
please me possibile!
edit
some more information curl -f here: http://curl.haxx.se/docs/manpage.html
for our project @ makerfaire torino: expose tomorrow...
so if can appreciated , start of love, beer, presents, goods, , on!
and if in turin, tomorrow, yes, give really!!! xd xd
so, problem: need send file (anemopark.csv) mysql database on altervista,
if write command in shell inside linino
code: [select]
curl -f file=@anemopark.csv http://xxxxxxxxxxx.altervista.org/samplesload/filetodb.php
it works charme
if insert in arduino sketch, this
code: [select]
p.runshellcommandasynchronously("curl -f file=@anemopark.csv http://xxxxxxxxxxx.altervista.org/samplesload/filetodb.php");
it doesn't work anymore, if use test sketch without else command (and related declarations, obviously).
i tried runshellcommand instead of runshellcommandasynchronously, same failure
no result.
i'm going mad!
if works inside linino shell
why doesn't work inside arduino sketch?
same command, same sintax!
is process related problem?
please me possibile!
edit
some more information curl -f here: http://curl.haxx.se/docs/manpage.html
use absolute path specify location of anemopark.csv. example: /mnt/sd/anemopark.csv
Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > Yun, curl and process: error? [urgent]
arduino
Comments
Post a Comment