flask Upload and Download file from Mongo using Bottle and Flask If you have a requirement to save and serve files, then there are at least a couple options. Save the file onto the server and serve it from there. Mongo[^n] provide GridFS[