So I have a need to distribute a file to all the Ignition Clients in a given location. I plan to have them click a button then the file download.
Is there a way to accomplish this? I have looked at system.file.saveFile, but not sure how to tell it what file to send.
The file is located on a Shared folder on the Ignition server if it makes a difference.
Thanks!
EDIT: I am guessing I need WebDev??
If you place a file in \webserver\webapps\main
(in the Ignition installation directory) it will be accessible at localhost:8088/main/filename.txt
, eg:
http://localhost:8088/main/system_logs.idb
2 Likes
Hmmm This did not work for me… I got this error:
HTTP ERROR 404
Problem accessing /main/jre-8u151-windows-i586.exe. Reason:
Not Found
Powered by Jetty:// 9.3.z-SNAPSHOT
Not sure why. I actually ended up putting the files I need on a seperate directory, then running a small webserver called Mongoose --> https://cesanta.com/ and calling the files from that “webserver” . Probably not the best solution but got accomplished what I needed.
How do you download it though?
Am I using system.perspective.download() to do so? what would I input as a parameter?
Wrong thread. This is for Ignition 7.9 which was before Perspective.
Please start a new thread.
1 Like