parameters: (self, cmd, fp, blocksize=8192, callback=None, rest=None)
return_statement: return self.voidresp()
docstring: Store a file in binary mode.  A new port is created for you.
  
          Args:
            cmd: A STOR command.
            fp: A file-like object with a read(num_bytes) method.
            blocksize: The maximum data size to read from fp and send over
                       the connection at once.  [default: 8192]
            callback: An optional single parameter callable that is called on
                      each block of data after it is sent.  [default: None]
            rest: Passed to transfercmd().  [default: None]
  
          Returns:
            The response code.
docstring_summary: Store a file in binary mode.  A new port is created for you.
docstring_tokens: Store a file in binary mode . A new port is created for you .
function: def storbinary(self, cmd, fp, blocksize=8192, callback=None, rest=None):
          """Store a file in binary mode.  A new port is created for you.
  
          Args:
            cmd: A STOR command.
            fp: A file-like object with a read(num_bytes) method.
            blocksize: The maximum data size to read from fp and send over
                       the connection at once.  [default: 8192]
            callback: An optional single parameter callable that is called on
                      each block of data after it is sent.  [default: None]
            rest: Passed to transfercmd().  [default: None]
  
          Returns:
            The response code.
          """
          self.voidcmd('TYPE I')
          with self.transfercmd(cmd, rest) as conn:
              while 1:
                  buf = fp.read(blocksize)
                  if not buf:
                      break
                  conn.sendall(buf)
                  if callback:
                      callback(buf)
              # shutdown ssl layer
              if _SSLSocket is not None and isinstance(conn, _SSLSocket):
                  conn.unwrap()
          return self.voidresp()
function_tokens: def storbinary ( self , cmd , fp , blocksize = 8192 , callback = None , rest = None ) : self . voidcmd ( 'TYPE I' ) with self . transfercmd ( cmd , rest ) as conn : while 1 : buf = fp . read ( blocksize ) if not buf : break conn . sendall ( buf ) if callback : callback ( buf ) # shutdown ssl layer if _SSLSocket is not None and isinstance ( conn , _SSLSocket ) : conn . unwrap ( ) return self . voidresp ( )