iOS - Dropbox upoad to "App Folder" -


in ios application, i'm integrating dropbox api upload files.
while creating app in dropbox.com, found 2 options. 1 full folder availability , 1 "app folder". opted "app folder" , gave folder name "xxx".
i'm calling following method takes full file path parameter.

-(void)uploadfile:(nsstring*)filepath {     nsstring *destdir = @"/";     [[self restclient] uploadfile:[filepath lastpathcomponent] topath:destdir                     withparentrev:nil frompath:filepath]; } 

the problem destination directory shouldn't "/" because want upload "xxx" folder. tried providing destination directory "xxx" , "/xxx", still didn't work out.

can 1 point out what's wrong thing i'm doing?

we must careful how initilazing dbsession. mentioned "omz" in above comments, have provide appropriate key if kdbrootdropbox or kdbrootappfolder. in case i'm using 2 different types of accounts main reason failure.
i'm thankful "omz"


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -