rentom commented on code in PR #18767:
URL: https://github.com/apache/airflow/pull/18767#discussion_r724974627
##########
airflow/providers/ftp/hooks/ftp.py:
##########
@@ -60,6 +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)
+
+ if params.port:
+ ftplib.FTP.port = params.port
Review Comment:
Yeah, you're right. It's done the same way in FTPSHook. But I can look into
that as well...
--
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]