Searched refs:ftpcache (Results 1 – 3 of 3) sorted by relevance
103 ftpcache.clear()119 ftpcache = {} variable151 self.ftpcache = ftpcache540 if len(self.ftpcache) > MAXFTPCACHE:542 for k in self.ftpcache.keys():544 v = self.ftpcache[k]545 del self.ftpcache[k]548 if not key in self.ftpcache:549 self.ftpcache[key] = \558 (fp, retrlen) = self.ftpcache[key].retrfile(file, type)
1686 ftpcache = {} variable1722 self.ftpcache = ftpcache2062 if len(self.ftpcache) > MAXFTPCACHE:2064 for k in list(self.ftpcache):2066 v = self.ftpcache[k]2067 del self.ftpcache[k]2070 if key not in self.ftpcache:2071 self.ftpcache[key] = \2080 (fp, retrlen) = self.ftpcache[key].retrfile(file, type)
559 … urllib.request.ftpcache['test'] = urllib.request.ftpwrapper('user', 'pass', 'localhost', 21, [])