Thursday, 13 April 2017

MEAN.js - Upload csv file generated to S3

I am creating CSV files using mongoose-to-csv and I am going to upload it to AWS S3 via multer-s3.

However I have no idea on how to upload the file as soon as it has been generated without a form.

IIRC upload.single() is only accepting field name of a form.

Is this doable or is there any suggestion on how to complete the task?



via Han Lim

No comments:

Post a Comment