Native node.js captures the data stream of the picture. If you get the data, the picture can't be saved.

Native node.js captures the data stream of the picture. If you get the data, can the picture be saved?
look at the data object and do Filter, but still can"t get the data
the related code is as follows
  https://codeshelper.com/q/10.

ask for advice

Apr.09,2021

Thank you for inviting me. I don't understand the above code. Wait for God to answer, you can change your way of thinking. You can consider using upload components, such as multer, formidable and other libraries, which are very mature libraries. I have an article for reference: uses Node to handle file uploads .


is invited to answer.
Native node is more troublesome to get files
if there is a href= "https://codeshelper.com/q/1010000009945178"> similar problem on this site , I won't make a fool of myself (actually I won't)

Menu