AWS S3 integration

Options
Currently, we have a node.js program to copy files back and forth.  It would be nice if this is native to Xano.

Comments

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options
    Whats the hold-up for using xano to copy files? If one end is on S3, where is the other end - also S3? On a file server? or something else?
  • We would like to be able to fetch/upload files from/to S3.  Our files are uploaded directly to AWS S3 directly from Dropbox through our node.js program.  To download a file, we have a directly to the object in the S3 bucket.  This means that we have to set the bucket to be public, which is not ideal.  We'd rather fetch the file from S3 via Xano and then return it to the front end.
  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options
    You can 1) make those API calls from Xano if you wish, and 2) S3 has pre-signed URLs that are the usual way to allow someone to download an otherwise-inaccessible file. That way the bucket doesn't have to be public, nor does the file itself. Only someone with the specific URL - and only for a limited period of time - will be able to download. Creating such a URL is an API call that you could run from Xano on demand - as part of the API endpoint that returns information that should include a link to the file for download.