Skip to main content

Push File to Mobile Device

Command description

Copy a file from the computer to a specified path on the mobile device. All file formats are supported.

Command Input Parameters

input parametersInput parameter typeDescription
Mobile Device ObjectPhoneConnected mobile-device object
Computer File PathstrAbsolute path of the source file on the computer
Mobile File PathstrAbsolute destination path on the mobile device, such as /storage/emulated/0/Download/demo.mp4

Command Output Parameters

None

Type definition reference

Operation steps

  1. Select source file: Specify the file on the computer
  2. Connect device: Make sure the mobile device is connected
  3. Set target path: Specify the destination path on the mobile device
  4. Start transfer: Run the command

Example

tip

Enable Developer options on the mobile device, then connect it to the computer with a USB cable. See Connect Mobile Device

FAQ

See Mobile Automation FAQ