16.01.2023, 09:39
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:
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?
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')
result, err = io.writefile ('/home/ftp/' .. reportFile, csv)
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?
There are 10 kinds of people in the world; those who can read binary and those who don't