나는 다음과 같은 방법으로 보관에서 파일을 저장하려고에 저장합니다는 보관에서 파일을 다운로드 경로
NSString *fileName = [NSString stringWithFormat:@"/newFile.json"];
// Do any additional setup after loading the view, typically from a nib.
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString* path2 = [documentsDirectory stringByAppendingPathComponent:
[NSString stringWithFormat:@"%@", fileName]];
[[self restClient] loadFile:fileName intoPath:path2];
파일 앱/APPNAME/샌드 박스 아래/newFile.json
이 오류가 발생합니다.
2012-05-12 21 : 05 : 46.824 빠른 숙제 & [934 : 707] [DropboxSDK] DropboxSDK : /1/files/sandbox/newFile.json에 대한 요청 오류 - 파일 찾을 수 없음
하지만 파일이 있습니다 !!
파일을 보관 용으로 저장하려고합니까? 그 반대도 마찬가지입니까? – jonusx