Upload files to Amazon S3 from a web form

Create a data feed that loads files onto Amazon S3 from an upload form component on a web page.

Overview

This template shows how to create a serverless data feed that powers an upload form component you can add to any web page, including static sites. When the upload form is used, the data feed performs the work of copying the selected files to Amazon S3.

Code template

Common uses

For simple upload forms, this is a handy way to upload data to an S3 bucket without complicated server-side code handling the form post.

  • The logic for the upload (and any possible conversions) is stored with the client code
  • No server-side script necessary
  • S3 credentials are securely stored in your Flex.io keychain