Working with the filesystem
If you need to create a file (e.g. creating XML feeds) or to work with the filesystem, you should use our .saveOutput()
function.
Function .saveOutput() expects two parameters - the name of the created file and content. This example will store the test.txt
file into the ./output
folder which will contain the following string: test
.
Last updated
Was this helpful?