Implementing ng2-file-upload #236
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there,
I am trying to explore trying to use ng2-file-upload but having some trouble understanding how to implement it as the readme is quite sparse. Are there anymore details that can help me get started on this. I am trying to create a demo app to upload images and save them in the server as a start.
I checked out the demo page here, http://valor-software.com/ng2-file-upload/
A few questions if anyone can help.
Or any other way to implement an image upload function is also welcomed. Thanks.
Just rewrite URL in simple-demo.ts to
const URL = 'http://localhost:3000/api/';and run demo server with commandnode file-catcher.js. Then you can see four file was uploaded at uploads (that are defined asvar DIR = './uploads/';in file-catcher.js.But as file-catcher.js is supposed to use older multer, you have to rewrite it to newer syntax if you will use current multer.