Thank you for the post.
"FileMaker Server can only Import from and Export to the following locations:
• When using the Import Records script step or Export Records script step in a FileMaker Server scheduled script, keep the following in mind:
• Any specified file must be in the Documents folder, the temporary folder, or a child folder of either the Documents folder or the temporary folder. For example, the following are all valid paths for file.csv:
The full knowledge base article can be found here:
Even in FMS16 I can not export to another server on the network? How should I do then?
You export your files locally on the server (see post above, the files have to export somewhere on the server) then use a system command line file (like a batch file) on the sever to copy/move the files elsewhere.
Depending on the situation, you could have a scheduled server script to run every X minutes that checks for some indicator in the file (a flag that says an export recently happened) and to run the batch file on the server.
If its a scheduled type export, you could set up a scheduled task on the server to copy or move files from server A to server B. Say, if your exports runs daily at 6 am, and is done inside 5 mins, you could set a scheduled task to run at 6:10 am to move the files.
Another thing to be careful of:
In some solutions, I am building the filepath (temp or desktop) using, say, the Job Name or Customer Name. These fields are obviously populated by the user, which means they could include a "/". If you ever have a situation where you are building a filepath that includes user-entered text, you need to error check for the slash.