How to Upload Files to Google Drive with FileZilla Pro CLI

What you’ll need

Connecting to Google Drive

Use the gdrive protocol and connect to the host:

From the prompt enter the connect command:

    connect gdrive://<path>

For example:

    connect gdrive://

Optionally you can use the parameters of the connect command:

    connect --protocol gdrive --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 CLI.

Listing the root directory shows the virtual folders:

    My Drive
    Shared drive
    Shared with me

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

Tags: , , , ,