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.

Downloading a CSV file from LM'S Internal FTP

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 ?

Path for user directory is /home/apps/store/user/ (make sure it starts with / or it might not work). To access it via FTP you need to use apps login instead of ftp.

Forum Jump: