We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
FahadG
9 years agoExplorer | Level 4
downloadURL throwing a exception Operation Not Permitted
The following code is throwing an exception, something about file permission with NSURLSession: [[[[DBClientsManager authorizedClient].filesRoutes downloadUrl: remotePath overwrite: true destina...
KK4iOS
9 years agoExplorer | Level 4
Dear Greg,
I am running exactly in the same problem. It works for us on iPad with iOS 9.3.5 and iOS 10.2 but it fails with the follwong message on a iPad Pro 12.9" with iOS 10.3 (and I made a pod update this moring to version 3.0.10):
NSError = "Error Domain=NSCocoaErrorDomain Code=513 \"\U201eCFNetworkDownload_usQ10T.tmp\U201c konnte nicht bewegt werden, da du nicht \U00fcber die erforderlichen Zugriffsrechte f\U00fcr \U201etmp\U201c verf\U00fcgst.\" UserInfo={NSSourceFilePathErrorKey=/var/mobile/Library/Caches/com.apple.nsurlsessiond/Downloads/com.-----.——/CFNetworkDownload_usQ10T.tmp, NSUserStringVariant=(\n Move\n), NSDestinationFilePath=/private/var/mobile/Containers/Data/Application/03757827-B45C-4CFD-9F34-DFE20371E541/tmp/Pepsi.jpg, NSFilePath=/var/mobile/Library/Caches/com.apple.nsurlsessiond/Downloads/com.-----.-----/CFNetworkDownload_usQ10T.tmp, NSUnderlyingError=0x17045a340 {Error Domain=NSPOSIXErrorDomain Code=1 \"Operation not permitted\"}}"
I implemented also the proposals with the "sharedContainerIdentifier" from your referring link (https://github.com/dropbox/dropbox-sdk-obj-c/issues/60) but I does not solve the problem:
DBTransportDefaultConfig *transportConfiguration = [[DBTransportDefaultConfig alloc] initWithAppKey:DROPBOX_APP_KEY appSecret:DROPBOX_APP_SECRET userAgent:nil asMemberId:nil delegateQueue:nil forceForegroundSession:NO sharedContainerIdentifier:[NSBundle mainBundle].bundleIdentifier]; [DBClientsManager setupWithTransportConfig:transportConfiguration];
Should I open a separate issue for that on Github?
Greg-DB
Dropbox Community Moderator
9 years agoKK4iOS It looks like you did open a new issue on GitHub for this, so we'll take a look and follow up there.
- KK4iOS9 years agoExplorer | Level 4
Thank's Greg, yes I did. Let's follow up there....
- KK4iOS9 years agoExplorer | Level 4
Please find the solution to our issue on the Github issue:
https://github.com/dropbox/dropbox-sdk-obj-c/issues/125
- AlessandroB9 years agoNew member | Level 2
I have same problem... but your suggestion can't resolve for me... please help me...
- AlessandroB9 years agoNew member | Level 2I have same problem... but your solution isn't good for me... please help me...
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!