PyDocs

Nav

Internet Protocols and Support

FTP.retrbinary

ftplib

method of FTP (source) not WASI
  • FTP.retrbinary(cmd, callback, blocksize=8192, rest=None)
Retrieve data in binary mode.  A new port is created for you.

Args:
  cmd: A RETR command.
  callback: A single parameter callable to be called on each
            block of data read.
  blocksize: The maximum number of bytes to read from the
             socket at one time.  [default: 8192]
  rest: Passed to transfercmd().  [default: None]

Returns:
  The response code.
0 Examples
No examples for ftplib/FTP.retrbinary.
See Also
No see-alsos for ftplib/FTP.retrbinary
0 Notes
No notes for FTP.retrbinary