How To Upload Data on Digital Ocean Space
Prerequisites
In order to complete this tutorial, you should have access to the following:
- FileZilla Pro is downloaded and installed on your local machine. You can purchase FileZilla Pro for Windows or macOS from filezillapro.com.
- A DigitalOcean Space and API key is created by following How To Create a DigitalOcean Space and API Key. Be sure to note the following credentials for your Space:
- Access Key
- Secret Key
- Space URL
- Bucket Name
With these prerequisites in place, we can begin setting up FileZilla Pro to work with DigitalOcean Spaces.
Step 1 — Configuring Spaces Endpoints
To connect to your DigitalOcean Spaces repository with FileZilla Pro, you must configure the FileZilla providers list with DigitalOcean endpoints. Open FileZilla Pro and follow these steps:
- Choose Edit from the menu at the top of the screen, and select Settings. You will see a dialog box, where you should see a Transfers heading. Select S3: Providers under that heading.
- In the S3: Providers page, you will see a box for Providers, with an, Add Button below it. Click this button to add DigitalOcean to the list of providers:
- Below the Providers box, you will see a Regions box and another Add button. Click on it and add the following regions and endpoints:
- Name: sgp1
- Description: Singapore 1
- EndPoints: sgp1.digitaloceanspaces.com
You can add other regions later. The completed Regions list will look like this:
- Below the Regions box, you will see a Catch All box. Enter
.digitaloceanspaces.com
in this box. Be sure to include the leading dot before the text. - In the Format box enter:
{region}.digitaloceanspaces.com
Your Settings page should now look like this:
- Press the OK button located on the left-hand side of the screen to finish.
From here, we’ll connect our Spaces buckets to FileZilla.
Step 2 — Adding a DigitalOcean Spaces Repository
Now we can add our Spaces bucket information — including our repository URL and Access and Secret Keys — to FileZilla in order to connect to each of our Spaces.
- Select File from the top menu, and choose Site Manager.
- In the Site Manager dialog box, click the New Site button, located on the bottom left-hand side of the screen.
- Enter the name of the new site. It may make sense to call this
DigitalOcean
. - In the Host text box, located to the right of the site list, enter your Space URL. This could look something like the following:
your_space_name.sgp1.digitaloceanspaces.com
, withyour_space_name
being your Space Bucket Name, andsgp1.digitaloceanspaces.com
being your endpoint. - Using the Protocol dropdown menu located below the Host box, select S3 - Amazon Simple Storage Service.
- In the Logon Type box, select Normal from the dropdown menu.
- In the Access Key ID box, enter your DigitalOcean Key.
- In the Secret Access Key box, enter your DigitalOcean Secret.
With these information fields complete, your Site Manager page should now look like this:
When you have finished and ensured that everything appears to be correctly filled in, press the OK button at the bottom of the screen to complete the setup.
Step 3 — Connecting to Your Spaces Repository
With the setup complete, you can now connect to DigitalOcean Spaces with FileZilla Pro.
- Navigate to the File header again, and select Site Manager. Within the Sites dialog box, select your DigitalOcean Spaces site.
- Press Connect.
You have now successfully integrated DigitalOcean Spaces with FileZilla Pro and can now transfer files to your Spaces bucket.
Step 4 - Now Upload Data in Digital Ocean
- Download the Zip file of uploaded folders from your server and extract it
- Create New Directory "uploads" in the digital ocean please check the screenshot
- then select the uploads directory
- Select All files and Folders, then drag and drop into the digital ocean upload directory
Was this article helpful?