Thank you for your post.
Using FileMaker Server 14.0.2 on Mac OS X 10.10.4, I am able to launch Chrome on a Windows machine to access a hosted file and export the field contents (.txt text file).
What version of Mac OS X is being used with FileMaker Server 14? Are you using FileMaker Server 14.0.2?
Which browser is being used to access the database file? Are pop-up blockers disabled? If not, disable pop-up blockers.
What type of file exists in the Container field?
Are you able to Export Field Contents from another database file?
Let me know what steps I can take to replicate the issue.
If you look up this script step in Help, you'll find that it's compatibility with Web Direct is "partial". You might check the documentation there as it could be that your specific options are not supported in Web Direct--which is consistent with the error code reported here.
You're rigth, WebDirect "partially" allows Export Field Contents in sense that it should download the content of a Container Field inside the directory configured as default in the Browser but... it doesn't...
What WD doesn't allow is that you say where you want to save the content.
In any case, thanks for your answer
Hello TSGal and thanks for your answer.
Here below the answers to your questions:
I have used a similar setup. This is what I have done:
1. I created a database file with a Container field named "Interactive Container".
2. In Layout mode, I formatted the the Container field for Interactive content, Reduce image to fit, Maintain original proportions, Start playback automatically, and Preserve transparency.
3. In Browse mode, I inserted a PDF file.
4. I created a script "Export Container" with the script steps:
Set Variable [ $FilePath ; Value: "filemac:" & Get ( DocumentsPath ) & "TSGal.pdf" ]
Export Field Contents [ Table::Interactive Container ; "$FilePath" ]
5. I execute the script in FileMaker Pro to make sure it works.
6. I set the file for Network Sharing and configure for WebDirect.
7. I upload the file to FileMaker Server 14.0.2.
8. Using Chrome, I access the hosted file via WebDirect, execute the script, and I can download the PDF file.
Let me know what I'm doing differently than you so I can replicate the issue.
Make sure you have all the necessary ports open. See Knowledge Base Article #14402:
Note these items from FM:••
Note that the browser's DEFAULT DOWNLOAD LOCATION is where files will be sent by WebDirect. If you try a different location, it won't work.