parameters: (self, cmd, fp, callback=None)
return_statement: return self.voidresp()
docstring: Store a file in line mode.  A new port is created for you.
  
          Args:
            cmd: A STOR command.
            fp: A file-like object with a readline() method.
            callback: An optional single parameter callable that is called on
                      each line after it is sent.  [default: None]
  
          Returns:
            The response code.
docstring_summary: Store a file in line mode.  A new port is created for you.
docstring_tokens: Store a file in line mode . A new port is created for you .
function: def storlines(self, cmd, fp, callback=None):
          """Store a file in line mode.  A new port is created for you.
  
          Args:
            cmd: A STOR command.
            fp: A file-like object with a readline() method.
            callback: An optional single parameter callable that is called on
                      each line after it is sent.  [default: None]
  
          Returns:
            The response code.
          """
          self.voidcmd('TYPE A')
          conn = self.transfercmd(cmd)
          while 1:
              buf = fp.readline()
              if not buf: break
              if buf[-2:] != CRLF:
                  if buf[-1] in CRLF: buf = buf[:-1]
                  buf = buf + CRLF
              conn.sendall(buf)
              if callback: callback(buf)
          conn.close()
          return self.voidresp()
function_tokens: def storlines ( self , cmd , fp , callback = None ) : self . voidcmd ( 'TYPE A' ) conn = self . transfercmd ( cmd ) while 1 : buf = fp . readline ( ) if not buf : break if buf [ - 2 : ] != CRLF : if buf [ - 1 ] in CRLF : buf = buf [ : - 1 ] buf = buf + CRLF conn . sendall ( buf ) if callback : callback ( buf ) conn . close ( ) return self . voidresp ( )