BE_ExportFieldContents ( field ; outputPath )
Exports the contents of the container field to disk at the outputPath specified.
Container fields should be inserted via "Insert File". This provides a similar functionality to the Export Field Contents script step, but is also available via FileMaker Server.
Version : 3.0
field : the content of the command to run.
outputPath : a system file path.
Result : empty string for success, or ? for failure. Error codes can be retrieved with BE_GetLastError.
Also note that you can convert container types within a container via the BE_ConvertContainer function, so even if you didn't originally insert it via Insert File, it can be converted from an image to a file inside the container field itself.