parameters: (self, filename)
docstring: Retrieve the size of a file.
docstring_summary: Retrieve the size of a file.
docstring_tokens: Retrieve the size of a file .
function: def size(self, filename):
          '''Retrieve the size of a file.'''
          # The SIZE command is defined in RFC-3659
          resp = self.sendcmd('SIZE ' + filename)
          if resp[:3] == '213':
              s = resp[3:].strip()
              try:
                  return int(s)
              except (OverflowError, ValueError):
                  return long(s)
function_tokens: def size ( self , filename ) : # The SIZE command is defined in RFC-3659 resp = self . sendcmd ( 'SIZE ' + filename ) if resp [ : 3 ] == '213' : s = resp [ 3 : ] . strip ( ) try : return int ( s ) except ( OverflowError , ValueError ) : return long ( s )