How to Upload Files to Dropbox with CLI

What you’ll need:

  • A Dropbox account
  • Your usual login details for Dropbox; a user ID (typically an email address) and password for the Dropbox account

Connecting to Dropbox

Use the dropbox protocol and connect to the api.dropboxapi.com host:

From the prompt enter the connect command:

    connect dropbox://api.dropboxapi.com<path>

For example:

    connect dropbox://api.dropboxapi.com

Optionally you can use the parameters of the connect command:

    connect --protocol dropbox --path <path> api.dropboxapi.com

Note that the path is optional but if present it has to start with a slash.

An authorization URL is shown. Open the authorization URL in a browser and
follow the steps to authorize FileZilla Pro Command Line.

You can now transfer files between your local machine and your Dropbox account.

Tags: , , ,