Upload data to DO Spaces using a TCP connection

I was hoping to find out there was any way to upload data to DigitalOcean Spaces using a TCP connection. I am currently getting a 302 Found error when I attempt to connect to my Spaces using a TCP connection.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

In case it is helpful, we are trying to upload data files using Espressif

Thank you. We are using https. We have been able to connect using TCP but we get the 302 code error when we try to upload a data file. Should we still be using the AWS3 protocols when attempting to upload data using TCP? Is there a way to check data logs for Spaces? Perhaps those logs have some additional details on what we are doing wrong.


TCP traffic should be fine. The 302 code is a redirect. I suspect you may be connecting over http rather than https. Make sure the URL you’re connecting to is https. If that is the case and you’re still seeing this, let us know the full error you’re getting from your application, as well as more information about what you are using to connect, and we may have more insight.