Hello, this is my first time trying to upload a file to my companys dropbox account.
The file is a 1 to 5 page pdf report that is generated. I am able to generate, print and email report without a problem, but now would like to upload the report to dropbox also when it is emailed to keep as a record.
The report would go in different folders in dropbox that are already created based on project name.
I am getting the following erors on my upload request using objective c.......Please help. Thank you!
NSData *fileData = [@file data example dataUsingEncoding:NSUTF8StringEncoding allowLossyConversation:NO];
****error#1: No visible @interface for 'NSString' declares the selector 'dataUsingEncoding:allowLossyConversation:’
DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite];
*****error#2:Initializer element is not a compile-time constant
[[client.filesRoutes uploadData:@/test/path/in/Dropbox/account/yourPDF.pdf”
******error#3: Expected identifier or ‘(‘ —first bracket and client are underlined in red