You need to be more specific. What is a generator? Are you wanting to transfer to a USB attached disk drive?
If the USB device is mounted as a file system, you can simply copy it using plain node.js. You need to use fs-extra module to transfer file across devices. Check the documentation to find samples on how to copy files. On Monday, 13 March 2017 21:00:32 UTC+5:30, aby peter wrote: > > Hi All, > > I would like to transfer one file from " Raspberry Pi " environment to > USB port of one generator. How can i achieve this requirement using > Node.JS. > > Can i use node-red module? Anyone have any idea, Please help me > > Thanks, > Aby > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/f8bc88fa-3ac9-4c4c-a612-97e0396a9cbc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
