- Update to 5.1.0
* When the path encoding is specified as UTF-8, send `OPTS UTF8 ON` if
the server supports it
* ftputil uses `ftplib.FTP` as default session factory, but explicitly
sets the path encoding to latin-1 (regardless of the Python
version). This is the same behavior as in ftputil 4.0.0 or earlier
if running under Python 3.8 or earlier.
* If client code uses a custom session factory (i. e. the
`session_factory` argument of the `FTPHost` constructor), ftputil
will take the path encoding to use for `bytes` paths from the
`encoding` attribute of an FTP session from this factory. If there's
no such attribute, an exception is raised.
OBS-URL: https://build.opensuse.org/request/show/1270046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftputil?expand=0&rev=11
4 lines
130 BLFS
Plaintext
4 lines
130 BLFS
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:e9e62d3fd307ef9c52e43b33fd92759fc94c04d8b5178f85f641b183906d4353
|
|
size 86403
|