[Tutor] Confirm that Python 2.6 ftplib does not support Unicode file names? Alternatives?

python at bdurham.com python at bdurham.com
Sat Jun 26 18:20:20 CEST 2010

Updating this thread for users searching the archives.

Additional commentary can be found in this thread I started on

Gabriel Genellina added the following comment on Python-list:

According to RFC 2640, you should use UTF-8 instead. 

The server software must be able to convert from file system encoding to
utf-8 and viceversa; check its configuration.

The stackoverflow thread mentioned above also contains a
workaround/ugly-hack if you need to use Unicode path/file names with
ftplib and/or a file server that does not support Unicode path/file


More information about the Tutor mailing list