Start multi-file download
Start a multi-file download. Returns a link that streams files as a zip (or a single file directly). Supports copy, clone, and XML export types.
Request Body
application/json
POST /otto/api/fm-file/download Request body
Number of files to process concurrently
11 <= value <= 10FileMaker filenames to download. Pass strings for copy/clone, or objects with per-file credentials for XML.
1 <= itemsInclude DDR info in XML output (XML type only)
falseSave XML to Documents folder (XML type only)
falseType of download: copy, clone, or xml
"copy""copy" | "clone" | "xml"Restrict the XML output to a subset of FileMaker DDR catalogs (e.g. ScriptCatalog). Empty or absent includes all catalogs. Requires FileMaker Server 26.
Output one XML file per catalog, returned as a zip archive. LibraryCatalog is automatically excluded and standalone binary data is forced on by the tool. Requires FileMaker Server 26.
Embed each layout object's binary data inline rather than referencing the deduplicated LibraryCatalog. Requires FileMaker Server 26.
Response Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/fm-file/download" \ -H "Content-Type: application/json" \ -d '{ "files": [ "string" ] }'{
"messages": [
{
"code": 0,
"text": "ok"
}
],
"response": {}
}{
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
],
"response": {}
}Was this page helpful?