every time I invoke createReadStream with file name I get crash with error 'myfile does not exist'
var readstream = gfs.createReadStream('myfile')
However everything works fine if providing "_id" value.
Is there anything can be done to fix the problem?
every time I invoke createReadStream with file name I get crash with error 'myfile does not exist' var readstream = gfs.createReadStream('myfile') However everything works fine if providing "_id" value. Is there anything can be done to fix the problem?