I am trying to download file via curl, with system() call:
system("curl ftp://speedtest.tele2.net/1MB.zip --output /home/root/test.file --silent")
Every time i try I get:
Aug 3 13:40:52 swi-mdm9x28-wp user.err Legato: =ERR= | MyAppName | File size limit exceeded (core dumped)
I tried different settings in the .adef
maxFileSystemBytes: 150000K ← many different values tested
But no matter what I set downloading process always stops at 100 KB.
Also I tried writing
curl ftp://speedtest.tele2.net/1MB.zip --output /home/root/test.file --silent to a
test.sh file and running it as executable. It works when I call it from CLI, it doesn’t work when i call it from code.
I tried to write the file to the
/home/root/ directory, but also to the
/tmp folder. What am I doing wrong?