DigitalOcean Spaces S3 connector uploading only the link to a file

:bullseye: What is your goal?

A file is uploaded to a Cognito Form, which send a webhook to make.com.
I want make.com to upload this file to a S3 bucket hosted on Digital.Ocean Spaces

:thinking: What is the problem?

It uploads a link to the file not the actual .zip file itself!!
The link shown in the first image below is live, and it links to the file!
But as you can see, a much smaller file that’s just a text file is uploaded instead. It just has the URL inside…

:test_tube: What have you tried so far?

Well, I started with the DO Spaces file connector. I have not tried other S3 connectors, but I could I guess.
It’s possible the issue is with the incoming data from Cognito Forms.

:camera_with_flash: Screenshots: scenario setup, module configuration, errors


Looking at it right now, Make.com is only sending the URL string to Digital Ocean right now.

Please share a screenshot of your scenario so we can figure out what additional steps you should add or implement. I’ll wait for your reply!

1 Like

Thank you for helping me with this!

Colin

@re2 So you need to implement an HTTP Module (Get a file) that downloads the file from Cognito’s URL, then map that binary output into the DigitalOcean Spaces upload module.

2 Likes

Welcome to the Make community!

Does the Module Require You to Map File Data?

Did you forget to download the file using the file’s link/URL? If it’s not downloaded to the scenario, the next module can’t access the file binary data (contents).

To do this, you can use the HTTP “Get a File” module with the file URL that you need to download. Your file has to be publicly accessible on the internet (doesn’t require authentication).

For more information, see Working with files - Help Center.

More Than One File?

If you have an Array of multiple file URLs, you can use an Iterator module, and map the resulting bundle value/URL to the “Get a file” module.

To download multiple files before proceeding to the next module, you can use an Array Aggregator.

For more information, see “Mapping with arrays” in the Help Centre. I also suggest going through the Make Academy, which also covers the use of Iterators & Aggregators.

Hope this helps! If you are still having trouble, please provide more details.

— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

2 Likes

I was not aware of this at all! My assumption was that it would do this implicitly, like how “Save As…” saves the URL target not the URL.

Let me take a look at this and report back…

Fixed! Just like you suggested, I first have to download the file in the scenario and then the DigitalOcean Spaces connector could see it and upload it.

I’ll look into this as well!

1 Like