I have sent a file from HTML(angularJS) and I got the file in node.js by the help of the multer npm module. With this solutions, the file is uploaded into a node.js server and then from there it is uploaded into IPFS.

Since I'm using azure for my node.js server, I cannot upload files. Is there an alternative approach to upload files into IPFS without uploading them to a node.js server?

This question appears to be off-topic. The users who voted to close gave this specific reason:

"This question does not appear to be about Ethereum, the decentralized application platform and smart contract enabled blockchain, within the scope defined in the help center." – smarx, Achala Dissanayake, shane, Ismael, ivicaa

1 Answer
1

Yeah, you can do. I guess you're using Express.js to handle a request and response If you want to upload a file to the server you need to handle a multipart request. Read the file from the request and use the IPFS node module to upload file content to IPFS.