This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Use FTP to batch-update all user lua-scripts at once?
#1
Hi!

I have ~50 lua-scripts (event, scheduled, residential) in my Wiser for KNX and keep local copies of the .lua-files on my computer for easy editing.

Occasionally, I do changes that affect more or less all 50 scripts at once. Then it is a lot of work to manually open each of the 50 User script to paste in the associated source code and re-save them... 

Is it possible to use FTP and upload an entire script-folder at once?

Sincerely,
Robert Karlsson
Reply
#2
Event/resident/scheduled script are stored in the database and then cached in the filesystem. User libraries are stored directly in the filesystem. See this for more info on how to overwrite user libraries: https://forum.logicmachine.net/showthread.php?tid=1301
Reply
#3
Ok, I see. So there is no easy way of making a batch update for scripts other than the "user scripts"?

Thanks for the quick reply!
Reply
#4
Check this: https://forum.logicmachine.net/showthread.php?tid=4514
Reply
#5
(27.02.2023, 08:11)admin Wrote: Check this: https://forum.logicmachine.net/showthread.php?tid=4514

Great! Thanks! This will save me a lot of time.
Reply


Forum Jump: