Delete file (FR)

Perfecto Command

mobile:media:delete

Purpose

Deletes a single or multiple files from the device storage. Use the File transfer widget to identify the device folder and file name.

Parameters

Name Type Possible Values Description
handsetFile String

The device file path, including root and file name, where the file is located. The root can be phone or card.

Examples:

Copy

iOS example

phone:/Media/image.png
Copy

Android example

phone:/sdcard/DCIM/Camera/image.png

To delete all files in a folder, use a wildcard.

Examples: 

Copy

iOS example

phone:/Media/*
Copy

Android example

phone:/sdcard/DCIM/Camera/*

To view the device file system, log in to the Perfecto Lab interface and use the file transfer widget.

Return Value

None

Exceptions

None

Examples