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 www.googleapis.com host:

From the prompt enter the connect command:

    connect gdrive://www.googleapis.com<path>

For example:

    connect gdrive://www.googleapis.com

Optionally you can use the parameters of the connect command:

    connect --protocol gdrive --path <path> www.googleapis.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 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: , , , ,