I'm using the dropbox API to migrate a large amount of files from one dropbox account to another. This seems to be taking between 2 and 7 seconds per file. Are there any ways to speed up the time it takes to move files using the dropbox API? source = dropbox.Dropbox('connectionstring') target = dropbox.Dropbox('connectionstring') list_folder = source.files_list_folder('') while list_folder: files = re.findall(r'name=[\'"]?([^\'" >]+)', str(list_folder)) for f in files: source.files_download_to_file(f,'') files = open(f,mode='rb') target.files_upload(files.read(),'') files.close() os.remove(f)