Is there a way to trigger a Function when a file is uploaded to a Space?

My application is uploading files to a DigitalOcean Space. I have a function I want to run to unzip some of those files and move them to another Space. Is there a way to evoke a function whenever an upload to the first space is finalized?

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

you can change to S3 and lambda of AWS

Hey there,

I don’t think that this is possible out of the box. But what you could do is built this logic into your app, so basically have a check that verifies when a file is uploaded, and once done, you can invoke the function.

On another note, this sounds like it’d be super useful!

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

Hope that helps!

- Bobby.