code: def negotiate_encoding (self):
          
          try:
              features = self.url_connection.sendcmd("FEAT")
          except ftplib.error_perm as msg:
              log.debug(LOG_CHECK, "Ignoring error when getting FTP features: %s" % msg)
              pass
          else:
              log.debug(LOG_CHECK, "FTP features %s", features)
              if " UTF-8" in features.splitlines():
                  self.filename_encoding = "utf-8"
docs: Check if server can handle UTF-8 encoded filenames.
          See also RFC 2640.