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) {
}];