Paths in server-side scripts
When running a script on FileMaker Server, keep the following in mind:
Any specified file must be in the FileMaker Server Documents folder, the temporary folder, or a child folder of either of these folders. For example, the following are all valid paths for file.csv:
<Temporary Path>/file.csv
<Temporary Path>/Folder1/Folder2/Folder3/Folder4/file.csv
Any incomplete path to the file (for example, one 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) script step
Get(TemporaryPath) script step
About running scripts on FileMaker Server