FileMaker Files
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
concurrency?integer
Number of files to process concurrently
Default
1Range
1 <= value <= 10files*array<|>
FileMaker filenames to download. Pass strings for copy/clone, or objects with per-file credentials for XML.
Items
1 <= itemsincludeDdrInfo?boolean
Include DDR info in XML output (XML type only)
Default
falsesaveToDocuments?boolean
Save XML to Documents folder (XML type only)
Default
falsetype?string
Type of download: copy, clone, or xml
Default
"copy"Value in
"copy" | "clone" | "xml"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": {}
}