0

I want to add one mp3 file into mongodb database using gridfs.my mp3 file is located on my desktop.So i m using the command i.e

" C:\mongodb\bin\mongofiles.exe -d gridfs put C:\Users\27390\Desktop\Kalimba.mp3"

but its showing the following error i.e " stntax error-unexpected token illegal"

please suggest me something.

manishankar
  • 35
  • 1
  • 5

1 Answers1

0

Include mongodb/bin in your PATH. Navigate to the directory which contains the file and then key in the command:

mongofiles.exe -d gridfs put Kalimba.mp3
vmr
  • 1,895
  • 13
  • 24