{"action":"created","issue":{"url":"https://api.github.com/repos/chasseurmic/TWRDownloadManager/issues/18","repository_url":"https://api.github.com/repos/chasseurmic/TWRDownloadManager","labels_url":"https://api.github.com/repos/chasseurmic/TWRDownloadManager/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/chasseurmic/TWRDownloadManager/issues/18/comments","events_url":"https://api.github.com/repos/chasseurmic/TWRDownloadManager/issues/18/events","html_url":"https://github.com/chasseurmic/TWRDownloadManager/issues/18","id":71685840,"number":18,"title":"Files fail to save when using directory","user":{"login":"billburgess","id":644761,"avatar_url":"https://avatars.githubusercontent.com/u/644761?v=3","gravatar_id":"","url":"https://api.github.com/users/billburgess","html_url":"https://github.com/billburgess","followers_url":"https://api.github.com/users/billburgess/followers","following_url":"https://api.github.com/users/billburgess/following{/other_user}","gists_url":"https://api.github.com/users/billburgess/gists{/gist_id}","starred_url":"https://api.github.com/users/billburgess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billburgess/subscriptions","organizations_url":"https://api.github.com/users/billburgess/orgs","repos_url":"https://api.github.com/users/billburgess/repos","events_url":"https://api.github.com/users/billburgess/events{/privacy}","received_events_url":"https://api.github.com/users/billburgess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-04-28T19:54:05Z","updated_at":"2016-11-09T12:00:11Z","closed_at":null,"body":"Everything seems to work when I save my files using `-downloadFileForURL:progressBlock:completionBlock` but I get all kinds of errors when I use `-downloadFileForURL:inDirectoryNamed:progressBlock:completionBlock`\n\nThe errors suggest that the files are not found in the temp directory when it tries to move them. Am I missing something?\n\n2015-04-28 14:41:38.285 eOS[82373:16395045] ERROR: Error Domain=NSCocoaErrorDomain Code=4 \"The operation couldn’t be completed. (Cocoa error 4.)\" UserInfo=0x7fd07bd78320 {NSSourceFilePathErrorKey=/Users/Bill/Library/Developer/CoreSimulator/Devices/BA0758EE-3FB8-4908-B01A-3AA21B9D3361/data/Containers/Data/Application/682F7271-FA07-4303-9FA5-EFA4551FE725/Library/Caches/com.apple.nsurlsessiond/Downloads/com.redacted.ios/CFNetworkDownload_mjVG6F.tmp, NSUserStringVariant=(\n    Move\n), NSDestinationFilePath=/Users/Bill/Library/Developer/CoreSimulator/Devices/BA0758EE-3FB8-4908-B01A-3AA21B9D3361/data/Containers/Data/Application/682F7271-FA07-4303-9FA5-EFA4551FE725/Library/Caches/schedules/IPAT_startscreen_02.pdf, NSFilePath=/Users/Bill/Library/Developer/CoreSimulator/Devices/BA0758EE-3FB8-4908-B01A-3AA21B9D3361/data/Containers/Data/Application/682F7271-FA07-4303-9FA5-EFA4551FE725/Library/Caches/com.apple.nsurlsessiond/Downloads/com.redacted.ios/CFNetworkDownload_mjVG6F.tmp, NSUnderlyingError=0x7fd07bd3b3e0 \"The operation couldn’t be completed. No such file or directory\"}\n"},"comment":{"url":"https://api.github.com/repos/chasseurmic/TWRDownloadManager/issues/comments/259398771","html_url":"https://github.com/chasseurmic/TWRDownloadManager/issues/18#issuecomment-259398771","issue_url":"https://api.github.com/repos/chasseurmic/TWRDownloadManager/issues/18","id":259398771,"user":{"login":"RajChanchal","id":7058465,"avatar_url":"https://avatars.githubusercontent.com/u/7058465?v=3","gravatar_id":"","url":"https://api.github.com/users/RajChanchal","html_url":"https://github.com/RajChanchal","followers_url":"https://api.github.com/users/RajChanchal/followers","following_url":"https://api.github.com/users/RajChanchal/following{/other_user}","gists_url":"https://api.github.com/users/RajChanchal/gists{/gist_id}","starred_url":"https://api.github.com/users/RajChanchal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RajChanchal/subscriptions","organizations_url":"https://api.github.com/users/RajChanchal/orgs","repos_url":"https://api.github.com/users/RajChanchal/repos","events_url":"https://api.github.com/users/RajChanchal/events{/privacy}","received_events_url":"https://api.github.com/users/RajChanchal/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T12:00:11Z","updated_at":"2016-11-09T12:00:11Z","body":"@chasseurmic please update the repo with the code that @dasoli has put in. Because I did also suffered the same problem, but as  soon I put in the dasoli's code, It worked fine. Thanks\r\n"}}
{"actor":{"display_login":"RajChanchal"}}