Hi,
is there a way to download a file with a random number in the filename?
Something like
metadata = dbx.files_download_to_file(downfile, '/%s*' % testfile)
All the files a in the following format
knownstring--randomnumber.txt
The API doesn't offer the ability to download with a wildcard like this. You'll need to call once per file with the exact file path.
You can get the file names using files_list_folder and files_list_folder_continue.