MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / storbinary

Method storbinary

Lib/ftplib.py:455–478  ·  view source on GitHub ↗

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:

(self, cmd, fp, blocksize=8192, callback=None, rest=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

voidcmdMethod · 0.95
transfercmdMethod · 0.95
voidrespMethod · 0.95
callbackFunction · 0.85
sendallMethod · 0.80
readMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected