Lines Matching refs:dirs
1559 dirs = path.split('/')
1560 dirs = list(map(unquote, dirs))
1561 dirs, file = dirs[:-1], dirs[-1]
1562 if dirs and not dirs[0]:
1563 dirs = dirs[1:]
1565 fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
1584 def connect_ftp(self, user, passwd, host, port, dirs, timeout):
1585 return ftpwrapper(user, passwd, host, port, dirs, timeout,
1604 def connect_ftp(self, user, passwd, host, port, dirs, timeout):
1605 key = user, host, port, '/'.join(dirs), timeout
1610 dirs, timeout)
2061 dirs = path.split('/')
2062 dirs, file = dirs[:-1], dirs[-1]
2063 if dirs and not dirs[0]: dirs = dirs[1:]
2064 if dirs and not dirs[0]: dirs[0] = '/'
2065 key = user, host, port, '/'.join(dirs)
2077 ftpwrapper(user, passwd, host, port, dirs)
2402 def __init__(self, user, passwd, host, port, dirs, timeout=None,
2408 self.dirs = dirs
2424 _target = '/'.join(self.dirs)