Using Filepicker.io, uploading files to folder in S3 bucket

Is it possible to upload files to a specific folder in an S3 bucket instead of just uploading to a base folder in forging?

+3


source to share


1 answer


Yes, use the path parameter in the filepicker.store call.

filepicker.store(fpfile, {location:'S3', path:'myfolder/file.png'},
    function(stored_fpfile){
  console.log(stored_fpfile);
});

      



Documentation at https://developers.filepicker.io/docs/web/#store

+2


source







All Articles