Skip to main content

1.Virtual File System

Provides file system access to the iOS device container. 💡 Use cases This feature is very useful as a file relay/transfer mechanism in jailbroken environments.

Feature Overview

Path Notes

  • For directory listing, path is optional: if omitted, it reads the App Group container root.
  • For read/write/delete, file must be a path that is accessible on the device side.
  • It’s recommended to obtain the sandbox root from device info device.info.sandboxPath, then build sub-paths with template strings, e.g. ${_device.info.sandboxPath}/result.txt.

2.Read Directory

List files and folders under a given directory path. Each entry includes name, whether it is a directory, size, and last modified time.

Endpoint Description

Endpoint Type

Parameters

Response Payload

Returns an array:
Field notes:
  • name: entry name (no parent path)
  • dir: whether entry is a directory
  • size: bytes (directories may be 0)
  • mtime: last modified time (milliseconds timestamp)

Basic Usage

3.Read File

Read binary content of a file and returns a Buffer. Useful for reading text, images, or other binary files.

Endpoint Description

Endpoint Type

Parameters

Response Payload

Returns Buffer (binary data).

Basic Usage

4.Write File

Write content to a file. Currently only lightweight text content is supported; binary data is not supported.

Endpoint Description

Endpoint Type

Parameters

Response Payload

Returns on success:

Basic Usage

5.Delete File

Delete a file by its absolute path.

Endpoint Description

Endpoint Type

Parameters

Response Payload

Returns on success:

Basic Usage