Skip to main content

download · pullPath · downloads

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Bring back a file from where the device keeps downloads — Android's shared Download folder, or on iOS an app's own Documents — to check what an app saved. These call app_download.

download​

download(name: string, options: { path: string; app?: string }): Promise<Data>
download(name: string, options?: { app?: string }): Promise<Uint8Array>

With a path: saves the file there and resolves to the transfer.

Without a path: resolves to the file's bytes.

pullPath​

pullPath(devicePath: string, options: { path: string; app?: string }): Promise<Data>
pullPath(devicePath: string, options?: { app?: string }): Promise<Uint8Array>

Bring back the file or folder at a device path: to path, or a file's bytes.

downloads​

downloads(options?: { app?: string }): Promise<Data[]>

What the downloads folder holds: name, bytes and modified for each file.

Examples​

Bring back a file an app saved​

const saved = await device.download('mobium-report.txt', { path: 'report.txt' })
console.log(saved.path, saved.bytes)

// Or the file itself, as bytes
const report = await device.download('mobium-report.txt')

The same call from the command line, mobium download mobium-report.txt -o report.txt, printed on an Android 15 emulator:

downloaded mobium-report.txt from Download/mobium-report.txt to …/report.txt (44 bytes) — confirmed by the copy's size read back against the device's

The Files Demo&#39;s Download the report saved mobium-report.txt in the Download folder, and the line under it says how big and which save it was; mobium download brought that file back — on an Android 15 emulator

The Files Demo's Download the report saved mobium-report.txt in the Download folder, and the line under it says how big and which save it was; mobium download brought that file back — on an Android 15 emulator

List what the folder holds​

for (const f of await device.downloads()) {
console.log(f.name, f.bytes)
}

The same call from the command line, mobium download, printed on an Android 15 emulator:

the Download folder holds 1 file
mobium-report.txt 44 bytes 2026-09-29 03:41

Bring back a folder from a path on the device​

const got = await device.pullPath('/sdcard/seed', { path: 'seed-copy' })
console.log(got.files, got.path)

The same call from the command line, mobium download --device-path /sdcard/seed -o seed-copy, printed on an Android 15 emulator:

downloaded seed from /sdcard/seed to …/seed-copy (a folder of 2 files, 8 bytes) — confirmed by each of its 2 files' sizes read back against the device's