Synology Domoticz file IO

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
GSV3Miac
Posts: 24
Joined: Sunday 05 February 2017 12:00
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Shropshire UK
Contact:

Synology Domoticz file IO

Post by GSV3Miac »

Linuz/ubuntu etc noob here (Windoze I can do) ..

is there some file name incantation which will let file:write in an LUA script actually put the data someplace I can find it (either on a shared space on the server, or better yet on the PC shared folders). As far as I can tell, whatever I put in for 'filename', it gets squirrelled away on the (pretty much inaccessible) /volume1 of the synology server. If I try the usual (for me) format "//volume2//shared//myfile.txt" I just wind up with a file of that name buried someplace on volume 1, where only SSH or Telnet can find it.

I sure it's really simple .. however I seem to be simpler still. 8>.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Synology Domoticz file IO

Post by Egregius »

I suppose you could make a symbolic link in your shared folder that points to the other one.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest