cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: downloadURL throwing a exception Operation Not Permitted

downloadURL throwing a exception Operation Not Permitted

FahadG
Explorer | Level 4

 The following code is throwing an exception, something about file permission with NSURLSession:

 

[[[[DBClientsManager authorizedClient].filesRoutes downloadUrl: remotePath overwrite: true destination: destURL] setResponseBlock: ^(DBFILESMetadata *fileData, DBFILESDownloadError *downloadError, DBRequestError *requestError, NSURL *urlGot) {
    if (requestError != nil) {
       // I'm getting a Operation Not Permitted, something about 'Move' not allowed as app does not own the file 

    }
  }] setProgressBlock: ^(int64_t bytesUploaded, int64_t totalBytesUploaded, int64_t totalBytesExpectedToUploaded) {
  }];

 

10 Replies 10

AlessandroB
New member | Level 2

My problem is now resolved... with versione 3.0.18 of Dropbox SDK that fix this bug.

Need more support?