Pull File from Mobile Device
Command description
Copy a file from the mobile device to a specified folder on the computer. All file formats are supported.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Mobile Device Object | Phone | Connected mobile-device object |
| Mobile File Path | str | Absolute path of the source file on the mobile device, such as /storage/emulated/0/1/test.mp4 |
| Folder Location | str | Absolute path of the destination folder on the computer |
| File Name Pattern | enum | Random File Name, Custom File Name |
| File Name | str | Saved file name; required only when File Name Pattern is Custom File Name |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| File Path | str | Absolute path of the transferred file on the computer |
Type definition reference
Path example
- Mobile file path:
/storage/emulated/0/Download/test.mp4 - Folder location:
C:\Users\username\Desktop\downloads - To keep the original name, set File Name to that name, such as
test.mp4.
Operation steps
- Select source file: Specify the file on the mobile device
- Connect device: Make sure the mobile device is connected
- Set target path: Specify the save folder on your computer
- 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