JSFileconvertToRemoteJSFile(serverPath)
Returns the JSFile object of a server file, given its path (relative the default server location).
Parameters
serverPath
Returns
JSFile
Sample
var f = plugins.file.convertToRemoteJSFile('/story.txt');
if (f && f.canRead())
application.output('File can be read.');
But I couldn’t find where the "relative the default server location" path is.
Pleas describe this somewhere in the wiki and also how I might change this path.