FileMaker Files
Copy and compress FileMaker file
POST
Requires FileMaker Server 20.3 or later. This endpoint will copy and compress a FileMaker file to a specified target path. Accepts a single file or an array of files for batch processing.
POST /otto/api/fm-file/copy-compress Request body
application/json- body
encryptionKey?stringOptional encryption key
force?booleanForce overwrite existing file at target path
password*stringFileMaker password
username*stringFileMaker username
inPlace*booleanWhether to compress the file in place
sourceFile*stringFile name to compress in the FileMaker format
POST /otto/api/fm-file/copy-compress Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/fm-file/copy-compress' \ -H 'Content-Type: application/json' \ -d '{ "password": "string", "username": "string", "inPlace": true, "sourceFile": "string"}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?