Using Filemanager with Amazon S3

The widget has a ready-to-use backend to work with files on the Amazon Web Services.

To try the functionality, you can alter the backend/drive.js file:

  • remove the code that initiates the wfs.LocalFiles object,
  • uncomment the code that requires the wfs-s3 package,
  • uncomment code that initiates the wfs.S3 object,
const folder = "s3://mk-wfs-test/";
const fs = new wfs.S3(folder, null, {
    accessKey: "",
    secretKey: "",
    verbose: true
});
  • provide a valid S3 path and your credentials.
Back to top