io.writefile call blocked - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: io.writefile call blocked (/showthread.php?tid=4502) |
io.writefile call blocked - Trond Hoyem - 16.01.2023 Hi I try to create an emergency light test report. I am getting en error when trying to write the file to the FTP folder in SL. The write code is as follows: Code: CSV = rapport .. table.concat(reportBuffer, '\r\n') I have activated the FTP, and can even log into it with FileZilla, but I am not writing anyting to the storage right now. Has there been any change to shis function? Do I need to add user and password to the io.writefile? If so, what would be the syntax? RE: io.writefile call blocked - admin - 16.01.2023 Disable "Block unsafe functions in scripts" in Utilities > General configuration. RE: io.writefile call blocked - Trond Hoyem - 16.01.2023 (16.01.2023, 09:41)admin Wrote: Disable "Block unsafe functions in scripts" in Utilities > General configuration. Great! That did it. I got another error now, but that is probably just something in my script, so I will check that out myself... |