- A B2 account
- Your B2 account ID
- An application key
Finding your B2 account ID and application key
- Log into your Backblaze B2 account.
- Click on My Account in the top right of the window.
- Click on Show Account ID and Application Key.
- Copy your account ID into a text editor.
- Scroll down to the Add Application Key section of the pop-up window.
- Enter a name, and select any restrictions that you need. FileZilla Pro CLI will need read and write permissions for at least one bucket.
- Click on Create Application Key.
The Backblaze B2 website will create a new application key for FileZilla Pro CLI to use. - Scroll down to the Your Application Keys section of the pop-up window. You should see a Success! message just above it.
- Copy the new application key into a text editor.
Connecting to B2Connecting to B2
Use the b2
protocol and connect to the api.backblazeb2.com
host:
-
From the prompt enter the
connect
command:
fzcli> connect b2://<account ID:<application key>@api.
˓→backblazeb2.com<path>
Optionally you can use the parameters of the connect
command:
fzcli> connect --protocol b2 --user <account ID>
--pass <application key> --path <path> api.backblazeb2.com
Note that the path is optional but if present it has to start with a slash.
You can now transfer files between your local machine and your Backblaze B2 account.