Logic Machine Forum
Path to image on ftp - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Path to image on ftp (/showthread.php?tid=673)



Path to image on ftp - buuuudzik - 13.03.2017

What is the path to an image e.g. snapshot.jpg on ftp on LM.

I've tried something like this:
LM_IP/home/ftp/snapshot.jpg

but it not workSad


RE: Path to image on ftp - Erwin van der Zwart - 13.03.2017

pHi,

Can you try /www/home/ftp/ ?

BR,

Erwin


RE: Path to image on ftp - buuuudzik - 13.03.2017

Unfortunately it is not working.

I've checked this address on webbrowser(e.g. http://192.168.2.1/home/ftp/snapshot.jpg) and in the visu(as remote /home/ftp/snapshot.jpg or http://192.168.2.1/home/ftp/snapshot.jpg).

This path works only on script with io.readfile() and io.writefile(). How can I use images from ftp on visu?


RE: Path to image on ftp - admin - 14.03.2017

Standard ftp account cannot be accessed from http. You should use apps account and upload files to user directory or write directly to /data/apps/store/user. Then you can access it via http://LM_IP/user/myfile


RE: Path to image on ftp - buuuudzik - 14.03.2017

Thanks for responseSmile