Artboard
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.

POST
/otto/api/fm-file/download

Request Body

application/json

POST /otto/api/fm-file/download Request body

concurrency?integer

Number of files to process concurrently

Default1
Range1 <= value <= 10
files*array<|>

FileMaker filenames to download. Pass strings for copy/clone, or objects with per-file credentials for XML.

Items1 <= items
includeDdrInfo?boolean

Include DDR info in XML output (XML type only)

Defaultfalse
saveToDocuments?boolean

Save XML to Documents folder (XML type only)

Defaultfalse
type?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": {}
}