chuancyzhang commented on a change in pull request #17253:
URL: https://github.com/apache/airflow/pull/17253#discussion_r677935796
##########
File path: airflow/providers/ftp/hooks/ftp.py
##########
@@ -60,8 +60,10 @@ def get_conn(self) -> ftplib.FTP:
if self.conn is None:
params = self.get_connection(self.ftp_conn_id)
pasv = params.extra_dejson.get("passive", True)
+ encoding = params.extra_dejson.get("encoding", "latin-1")
Review comment:
conn.encoding is default config. I used if to judge whether encoding is
in extra_dejson, not try
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]