Skip to content

Dropboxclient

flowtask.interfaces.DropboxClient

DropboxClient

DropboxClient(*args, access_key=None, **kwargs)

Bases: ABC

Dropbox Client for downloading and uploading files and folders to/from Dropbox.

download_file async

download_file(source_filename, destination_dir='.')

Download a file from Dropbox by its name.

download_folder async

download_folder(folder_name, destination_dir='.')

Download all files within a specified Dropbox folder by name.

upload_file async

upload_file(source_filepath, destination_path='/')

Upload a file to Dropbox.

upload_folder async

upload_folder(source_dir, destination_path='/')

Upload all files within a specified local folder to Dropbox.