Integrate WinSCP with Backblaze B2
    • Dark

    Integrate WinSCP with Backblaze B2

    • Dark

    Article Summary

    WinSCP is a free, open-source Windows tool that works as a file transfer client for SFTP, FTP, WebDAV, SCP, and S3. It lets you transfer files between a local and remote computer, including S3-compatible storage like Backblaze B2 Cloud Storage.

    You can use WinSCP with Backblaze B2 by setting up a session to connect to your Backblaze B2 account.

    Enable Backblaze B2

    Before you begin: You must have a Backblaze B2 Cloud Storage account. You can sign up here. If you already have a Backblaze account and the left navigation menu contains a B2 Cloud Storage section, your account is already enabled for Backblaze B2.

    1. Sign in to your Backblaze account.
    2. In the left navigation menu under Account, click My Settings.
    3. Under Enabled Products, select the checkbox to enable B2 Cloud Storage.
    4. Review the Terms and Conditions, and click OK to accept them. 

    Create an Application Key

    Application keys control access to your Backblaze B2 Cloud Storage account and the buckets that are contained in your account.

    1. Sign in to your Backblaze account.
    2. In the left navigation menu under Account, click Application Keys.
    3. Click Add a New Application Key, and enter an app key name.
      You cannot search an app key by this name; therefore, app key names are not required to be globally unique. 
    4. In the Allow Access to Bucket(s) dropdown menu, select All or a specific bucket.
    5. Select your access type (for example, Read and Write).
    6. Select the optional Allow List All Bucket Names checkbox (required for the Backblaze B2 S3-compatible API List Buckets operation).
    7. Click Create New Key, and note the resulting keyID and applicationKey values.
    When you create a new app key, the response contains the actual key string, for example N2Zug0evLcHDlh_L0Z0AJhiGGdY. You can always find the keyID on this page, but for security, the applicationKey appears only once. Make sure you copy and securely save this value elsewhere.

    Set up a Backblaze B2 Session in WinSCP

    1. Open WinSCP.
    2. In the connection manager, click New Site.
    3. Select Amazon S3 as your file protocol.
    4. Enter your S3 endpoint URL as your host name.
    5. Enter 443 as your port number.
    6. Enter your Backblaze B2 key ID as your Access key ID.
    7. Enter your Backblaze B2 application key as your Secret access key.
    8. Click Login.

    Was this article helpful?