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 host:

    From the prompt enter the connect command:

      fzcli> connect dropbox://<path>

      fzcli> connect dropbox://

    Optionally you can use the parameters of the connect command:

      fzcli> connect --protocol dropbox --user <user-id> --path <path>

    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: , , ,