Artboard
FileMaker Files

Copy file as self-contained

POST
/otto/api/fm-file/copy-self-contained

Requires FileMaker Server 20.3 or later. Starts an async copy self-contained operation. Returns a processId to track progress.

Request Body

POST /otto/api/fm-file/copy-self-contained Request body

application/json
  1. body
encryptionKey?string

Optional encryption key

password*string

FileMaker password

username*string

FileMaker username

sourceFilePath*string

File path to copy self-contained in the FileMaker format

targetFilePath*string

Target path to copy self-contained to in the FileMaker format

Response Body

POST /otto/api/fm-file/copy-self-contained Positive response

application/json
  1. response
messages*array<>
response*
Example Request
curl -X POST 'https://your.server.net/otto/api/fm-file/copy-self-contained' \  -H 'Content-Type: application/json' \  -d '{  "password": "string",  "username": "string",  "sourceFilePath": "string",  "targetFilePath": "string"}'
Example Response
{  "messages": [    {      "code": 0,      "text": "ok"    }  ],  "response": {}}

Was this page helpful?