Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's no way to upload and remove files from AWS S3. #51

Open
vihuvac opened this issue Jan 12, 2016 · 3 comments
Open

There's no way to upload and remove files from AWS S3. #51

vihuvac opened this issue Jan 12, 2016 · 3 comments

Comments

@vihuvac
Copy link

vihuvac commented Jan 12, 2016

I've followed the instructions in order to make it work but I could not do it, in order to upload files into S3 I had to edit the index.js file as follows:

...
var allFilesProccessed = false;

files.forEach(function(file, idx) {
    allFilesProccessed = true;
    file.proccessed = true;
});
...

The processed option was not being updated, so the post method died as pending.

I could not get to remove any file, the request to delete the file or files is being doing to the local host instead of aws s3.

Did someone have the same problem?

@Hiswe
Copy link

Hiswe commented Jan 22, 2016

@vihuvac I had the same problem for the upload.

Using the 0.4.5 by making an npm install arvindr21/blueimp-file-upload-expressjs has resolved the problem for me.
So it should be good if the latest version were on npm :)

For the delete, I haven't checked yet.

@vihuvac
Copy link
Author

vihuvac commented Jan 22, 2016

@Hiswe yeah you are right, I had noticed it, passing arvindr21/blueimp-file-upload-expressjs through the package.json file, it worked! But it looks like the repo has not been updated in npm.

The crazy thing! I saw that the images are being deleting but in the console there is an error alert like they were not being deleted, then the nodejs process is closed automatically due to this error. I couldn't get to solve it yet.

Thank you very much for your observation. 👍

@ldarren
Copy link

ldarren commented May 18, 2018

i had similar problem, and i have it fixed in my fork https://github.com/ldarren/blueimp-file-upload-expressjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants