Add a generic wrapper function for file uploads, instead of calling directly
the simple upload function or the chunked upload function
Add support for directory uploading
Add generic db_upload wrapper
Updated
Add directory download function