MCPcopy Index your code
hub / github.com/python/cpython / connect_ftp

Method connect_ftp

Lib/urllib/request.py:1565–1567  ·  view source on GitHub ↗
(self, user, passwd, host, port, dirs, timeout)

Source from the content-addressed store, hash-verified

1563 raise
1564
1565 def connect_ftp(self, user, passwd, host, port, dirs, timeout):
1566 return ftpwrapper(user, passwd, host, port, dirs, timeout,
1567 persistent=False)
1568
1569class CacheFTPHandler(FTPHandler):
1570 # XXX would be nice to have pluggable cache strategies

Callers 1

ftp_openMethod · 0.95

Calls 1

ftpwrapperClass · 0.85

Tested by

no test coverage detected