16.06.2022, 12:15
Hi,
We are creating a report CSV file and we can write internal memory home/ftp folder of Logic Machine via part of this script.
src = 'Report.csv'
dst = 'home/ftp/' .. src
log(io.writefile(dst, buffer))
We can reach this file via external FTP applications like filezilla. But we would lie to download via a button on LM graphic. We created a button with URL link /home/ftp/Report.csv . This button is not working. It was working for user folder before. It means , when we upload a file in user folder via FTP application ( for example manual.pdf ) we can download with a button with URL link /user/manual.pdf
How we can download via button and browser from home/ftp folder . Or can we write this Report.csv file in to user folder ?
Regards
We are creating a report CSV file and we can write internal memory home/ftp folder of Logic Machine via part of this script.
src = 'Report.csv'
dst = 'home/ftp/' .. src
log(io.writefile(dst, buffer))
We can reach this file via external FTP applications like filezilla. But we would lie to download via a button on LM graphic. We created a button with URL link /home/ftp/Report.csv . This button is not working. It was working for user folder before. It means , when we upload a file in user folder via FTP application ( for example manual.pdf ) we can download with a button with URL link /user/manual.pdf
How we can download via button and browser from home/ftp folder . Or can we write this Report.csv file in to user folder ?
Regards