token: The Dropbox access token to use. If it isn't set, the DROPBOX_TOKEN environment variable is used.
How to use it
Create an app
Create an app in the Dropbox App Console, with the access type you
need ("App folder" restricts the FTP server to a dedicated folder, "Full Dropbox" gives access to everything).
In the "Permissions" tab, enable at least files.metadata.read, files.content.read and files.content.write.