Paths in server-side scripts

When running a script on FileMaker Server or FileMaker Cloud:

Any specified file must be in the Documents folder, the temporary folder, or a child folder of either of these folders. Get functions that return information about other folders are not supported.

For example, the following are all valid paths for file.csv:

<Documents>/file.csv

<Temporary Path>/file.csv

<Documents>/Folder1/file.csv

<Temporary Path>/Folder1/Folder2/Folder3/Folder4/file.csv

Any incomplete path to the file (for example, on a Mac, a path other than
/Macintosh HD/Library/FileMaker Server/Data/Documents/<0 or more directories>/<filename> ) is evaluated as being relative to the temporary path.

Any paths that include ".." are invalid.

Related topics 

Export Records script step

Import Records script step

Get(DocumentsPath) function

Get(TemporaryPath) function

About running scripts on FileMaker Server and FileMaker Cloud