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 parameters | Input parameter type | Description |
|---|---|---|
| Mobile Device Object | Phone | Connected mobile-device object |
| Computer File Path | str | Absolute path of the source file on the computer |
| Mobile File Path | str | Absolute destination path on the mobile device, such as /storage/emulated/0/Download/demo.mp4 |
Command Output Parameters
None
Type definition reference
Operation steps
- Select source file: Specify the file on the computer
- Connect device: Make sure the mobile device is connected
- Set target path: Specify the destination path on the mobile device
- 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