PDF file download from Perspective app

I have a PDF file on the Ignition Server. I can access the pdf and download using system.perspective.download(). But the download works only on the browser, it is not working from the perspective app. Am I missing anything ?

Code Snippet :filename = ‘Test.pdf’
filepath = ‘E:\Ignition\webserver\webapps\main’ + ‘\’ + filename
data = system.file.readFileAsBytes(filepath)
system.perspective.download(filename,data)

1 Like

I want to say it’s not supported.

At least on Android the app doesn’t seem to request the permissions related to reading/writing files.

1 Like