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
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

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support