In perspective, system.file.writeFile
is gateway scoped, so if the file is getting written. you'll find it there. Perspective does not have access to the local file structure.
Here are a couple of related threads that could be of use here:
To add onto @pturmel ’s response, please look at the available scopes for the functions you’re attempting to use; saveFile() is only available in Vision Client scripting - not Perspective Sessions.
The writeFile() function IS available in Perspective, but ALL functions in Perspective run on the Gateway (so that’s where the file is written to), so you will never see a file on your local machine as a result of using writeFile().
There’s no mechanism in Perspective as of today that allows for expo…
Does writeFile() work in perspective for the session? I’m able to get a file to write from a gateway message relative to the gateway folder structure, but when I try to use the session with a static file path I don’t get an error in the log but I also don’t get the file.