This command is used to download (pick up) one or all of the files in a drop-off.

For the example commands, let's define a few things which you will change for your own use:

  • The automation user is going to have the username "robot" with a password of "machines"
  • The claimID and passcode of the drop-off will be "aaaClaimIDaaa" and "bbbPasscodebbb"
  • The address of your ZendTo site will be "". The site address always goes at the very end of the command, after all the other options.

Troubleshooting Options

If you are using a locally-signed SSL certificate on your ZendTo server, you may need to add the option
to all of the example commands. The option tells curl to skip all the validity checks on the SSL certificate on your ZendTo server.

To see the curl command it creates, which is what does all the work, but not actually run anything, add the option
to any of the example commands. This is extremely useful if you are looking to re-implement the functionality of the script in another environment.


To see the command-line usage
/opt/zendto/bin/autopickup --help

Fetch information about the drop-off, without downloading anything
/opt/zendto/bin/autopickup --username 'robot' --password 'machines' --claimid 'aaaClaimIDaaa' --passcode 'bbbPasscodebbb' --list --nofiles

Fetch all the files in the drop-off to the current directory, verifying their checksums, and logging that they were picked up by ''
/opt/zendto/bin/autopickup --username 'robot' --password 'machines' --claimid 'aaaClaimIDaaa' --passcode 'bbbPasscodebbb' --checksum --pickedupby ''

Fetch all the files in the drop-off to the directory '/var/tmp/downloads', not bothering with checksums or logging who did it
/opt/zendto/bin/autopickup --username 'robot' --password 'machines' --claimid 'aaaClaimIDaaa' --passcode 'bbbPasscodebbb' --output '/var/tmp/downloads'

The output of the '--list --nofiles' command above will give you a unique fileid number for each of the files in the drop-off. So let's download file number 123, verify its checksum and save it to the file ~/Downloads/my-picked-up-file
/opt/zendto/bin/autopickup --username 'robot' --password 'machines' --claimid 'aaaClaimIDaaa' --passcode 'bbbPasscodebbb' --file 123 --checksum --output '~/Downloads/my-picked-up-file'