failedDownloadRetryDictionary uses path as key in the "- (void)restClient:(DBRestClient )client loadFileFailedWithError:(NSError *)error" method. But in the "- (void)restClient:(DBRestClient)client loadedFile:(NSString*)destPath" it uses destinationPath instead. Therefore
"[self.failedDownloadRetryDictionary removeObjectForKey:destPath];" is never being executed.
failedDownloadRetryDictionary uses path as key in the "- (void)restClient:(DBRestClient )client loadFileFailedWithError:(NSError *)error" method. But in the "- (void)restClient:(DBRestClient)client loadedFile:(NSString*)destPath" it uses destinationPath instead. Therefore "[self.failedDownloadRetryDictionary removeObjectForKey:destPath];" is never being executed.