Lepozepo / S3

A simple helper for easily uploading files to Amazon S3 from Meteor. This package will also make Knox available server-side.
MIT License
274 stars 74 forks source link

S3.delete(path,callback) returns true, doesn't delete from s3 #154

Open anderskitson opened 7 years ago

anderskitson commented 7 years ago

I run the following command after uploading a image successfully and it returns true however it does not delete the image from Amazon s3 I have seen this issue a couple times but none of them had a answer, wondering if this has been fixed.

This is the function I run

S3.delete(delete_url, function(e,r) {
      console.log(e);
      console.log(r);
      console.log(delete_url);
    });

UPDATE: I just read it only accepts certain regions I have chosen "ca-central-1" as my region could this be why delete isn't working but upload is?

OMFG5716 commented 6 years ago

Having the same issue on the ca-central-1 region. Is this going to be fixed or it's best to migrate to the NPM package?