Skip to main content

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 parametersInput parameter typeDescription
Mobile Device ObjectPhoneConnected mobile-device object
Mobile File PathstrAbsolute path of the source file on the mobile device, such as /storage/emulated/0/1/test.mp4
Folder LocationstrAbsolute path of the destination folder on the computer
File Name PatternenumRandom File Name, Custom File Name
File NamestrSaved file name; required only when File Name Pattern is Custom File Name

Command Output Parameters​

Output parametersOutput parameter typeDescription
File PathstrAbsolute 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​

  1. Select source file: Specify the file on the mobile device
  2. Connect device: Make sure the mobile device is connected
  3. Set target path: Specify the save folder on your computer
  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