DigitalOcean is one of the great clouds provide for beginners, developers, and Linux lovers. I have experience in working on MS Azure cloud to manage and host business workloads. Recently, I got a chance to work with DigitalOcean, and I can say it is one of the best choices for small businesses and individuals who look for an affordable Cloud provider.
As the competition among Cloud providers increases massively, everyone adds new features to their services frequently. Spaces by DigitalOcean is notably excellent cloud storage service you can find on the Internet. Through the web browser, we can’t upload a single file that is more than 2GB to Spaces. Also, the DigitalOcean does not provide any GUI tools to manage their storage. We need to depend on 3rd party tools and scripts. In this guide, let me show how we can upload more than 2GB single file to DigitaleOcean Spaces with a GUI tool called CyberDuck from Windows 10 computer.
As alternate methods, we can split a larger file by using 7zip and make it less than 2GB in several files. Even there are several APIs and scripts available to enable multipath upload to make it work when you try to upload a file that is more than 2GB. But we will keep it simple by using the existing GUI tools. FileZilla Pro is another option to use on Windows or Mac OS. You can find more GUI and CLI tools here.
How to Connect CyberDuck and Upload more than 2GB file to DigitalOcean Spaces
1) Download CyberDuck for Windows from the official site here. It is an open-source, free program available for Windows and Mac. Install it on your Windows or Mac computer. In this example, I’m installing it on a Windows 10 computer.
2) Click on ‘Quick Connect’ to set up a new connection to Spaces. From now onwards, we need to switch the screens to visit your DigitalOcean account to get some account details.
3) Change the connection type to Amazon S3. Since DigitalOcean supports the same Amazon S3 APIs, we need to select this option.
4) Next is to enter the server URL. In your Spaces account setting, you can copy the endpoint URL. This is the server address we need to enter in CyberDuck. Since it has https, the port number will change to 443 automatically.
5) Access Key and Secret Access Key IDs should be created under API settings in the dashboard. Click on API and the ‘Generate New Key’ button.
You need to name the connection string to identify the key later. It will autogenerate Spaces access key strings as below.
6) The first one which has fewer characters is the Access Key ID, and the other one is Secret Access Key to connect through CyberDuck.
If everything is fine, once you press connect it should connect your Spaces and list out the folders.
Select the proper folder (or even you can create new folders through the GUI tool) and click upload.
Now browse the file which is more than 2GB and upload it. It should upload successfully without any fail which happed in the web browser. Here I managed to upload a 4GB single file to DigitaleOcean Spaces without any issues by using CyberDuck from my Windows 10 computer.
The good part is, you can pause and resume the upload. Even if the uploads break in the middle, once you close and open the program, it detects the uploaded data and continues from the place where it stopped. By using CyberDuck, you can rename, delete and move the folders and files stored in DigitalOcean Spaces.