Is there an equivelate method to fs.createReadStream() in Node for remote files? Using as follows throws Unhandled \'error\' event
Unhandled \'error\' event
var s = fs.cr
Node is no PHP :)
Use the request module:
request('http://fromrussiawithlove.com/baby.mp3').pipe(fs.createWriteStream('song.mp3'))