Searched refs:maxline (Results 1 – 6 of 6) sorted by relevance
106 maxline = MAXLINE variable in FTP188 line = self.file.readline(self.maxline + 1)189 if len(line) > self.maxline:190 raise Error("got more than %d bytes" % self.maxline)446 line = fp.readline(self.maxline + 1)447 if len(line) > self.maxline:448 raise Error("got more than %d bytes" % self.maxline)506 buf = fp.readline(self.maxline + 1)507 if len(buf) > self.maxline:508 raise Error("got more than %d bytes" % self.maxline)[all …]
101 maxline = MAXLINE variable in FTP204 line = self.file.readline(self.maxline + 1)205 if len(line) > self.maxline:206 raise Error("got more than %d bytes" % self.maxline)471 line = fp.readline(self.maxline + 1)472 if len(line) > self.maxline:473 raise Error("got more than %d bytes" % self.maxline)532 buf = fp.readline(self.maxline + 1)533 if len(buf) > self.maxline:534 raise Error("got more than %d bytes" % self.maxline)
281 maxline = 1 << 16298 check('x' * (maxline - 1))299 check('x' * (maxline - 1) + '\r')300 check('x' * (maxline - 1) + '\r' + 'y' * (maxline - 1))
582 'x' * self.client.maxline * 2)585 self.client.sendcmd('SETLONGRETR %d' % (self.client.maxline * 2))591 f = StringIO.StringIO('x' * self.client.maxline * 2)
306 maxline = 1 << 16323 check('x' * (maxline - 1))324 check('x' * (maxline - 1) + '\r')325 check('x' * (maxline - 1) + '\r' + 'y' * (maxline - 1))
784 'x' * self.client.maxline * 2)787 self.client.sendcmd('SETLONGRETR %d' % (self.client.maxline * 2))793 f = io.BytesIO(b'x' * self.client.maxline * 2)