'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.
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.