Discussions
-
API raises exception when uploading big files in session
Hi, I have been trying for a few days to upload a big file into my Dropbox account using the python API, i have tried using the following code: f = open(file_path) file_size = os.path.getsize(file_path) CHUNK_SIZE = 4 * 1024 * 1024 if file_size <= CHUNK_SIZE: print dbx.files_upload(f.read(), dest_path) else:…