FileMaker Data API Tools API - v1.8.0
    Preparing search index...

    Function writeFileAtomic

    • Writes text by creating a new file next to the target and renaming it over the target. A rename replaces a link at the target instead of following it, so a link planted after the path check cannot redirect the write. A swapped parent folder is not covered; that needs write access to the workspace by another local process.

      Parameters

      • targetPath: string
      • text: string

      Returns Promise<void>