Joined May 2014
·

Shaun Thomas

Germany
·
·

Posted to File Upload with Meteor method over 1 year ago

Thanks for the post.

  • 'fileInfo.name' in the server side is getting displayed as undefined. Can you please check on this and tell me how can I get the filename in server side?

  • I would like to correct the binary buffer data writing suggestion given by pascoual. The code that worked for me is fs.writeFile(fileNameWithPath, new Buffer(fileData, 'binary')); Here fileNameWithPath is var defined by me which contains filename with path.

Achievements
1 Karma
0 Total ProTip Views