This is intended to download a filemaker SaXML out of a container that is generated by script into a folder called SaXML.
you must setup the following environment variables
- FM_HOST=https://fm.example.com
- FM_USERNAME=user
- FM_PASSWORD=password
- FM_FILES=file,anotherFile,yetAnotherFile
The container is decoded from UTF-16LE or UTF-8 (with or without a BOM) and written as UTF-8. The tool exits nonzero if a downloaded file is empty or does not start with an <FMSaveAsXML element.
pnpm dlx @soliantconsulting/fm-saxml-delivery