Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt

Use this file to discover all available pages before exploring further.

Save a temporary file permanently to the local file system.

Parameters

PropertyTypeRequiredDescription
apFilePathStringYesTemporary file path
successFunctionNoCallback with saved path
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Success Callback

PropertyTypeDescription
apFilePathStringSaved file path

Code Example

my.saveFile({
  apFilePath: tempFilePath,
  success: (res) => {
    console.log('Saved to:', res.apFilePath);
  }
});