I noticed when using the .write( ) to upload a file, it uploads straight to the file system and not the one set on the onAfterUpload( ) option.
In my case, am storing the images on GridFS, but the files uploaded using .write( ) does not get uploaded to MongoDB. Only on the file system.
Thanks
Hello @mking200 ,
write(buffer [, opts, callback, proceedAfterUpload]) set fourth argument proceedAfterUpload to true.
Let me know if it helps
Sorry I forgot this option. I'll try it and let you know if it works.
Yes, this is working. Thanks!
Great, I'm glad it's solved
Please, support this project by:
Most helpful comment
Yes, this is working. Thanks!