I've added a file to mongodb's GridFS using:
mongofiles put <the file>
Now I can see it by by running the command:
Only if I'm using the test database, when I use a custom database, the second command returns nothing. Is mongodb using test as the default database for storing files? Is there a way to specify this?