Discussions
-
Re: Upload PDF files/proper encoding
I am having the same problem. I am also trying to upload a pdf that has editable fields, but I also tested it with a blank pdf and found it also would not work. below is a copy of my code. (very similar to the original post) files = os.listdir(os.getcwd()) for f in files: if f.endswith('.pdf'): #try: with open(f, 'rb') as…
-
Read a folders activity with the dropbox api
I have just started playing with the dropbox api and using python to access my dropbox folders. I have successfull been able to connect to my dropbox account and explore the folders sorted on this account with the following few functions. dbx = dropbox.Dropbox(token) res = dbx.files_list_folder(folder) metadata =…