Created 08-02-2023 03:17 AM
What is the default port used by the Apache NiFi processor ListenFTP for the data channel in active FTP mode? For the control channel the default port is 2221. Is the default port for the data channel in active mode 2220?
The default ports for FTP are 21 for control channel and 20 for data channel. Because ports below 1024 require root access, the NiFi default port for control channel is 2221.
Created 08-02-2023 07:30 AM
Under the cover this is just using Apache FTP Server
Depends on passive ports
https://mina.apache.org/ftpserver-project/configuration_passive_ports.html
Send is over passive
An example is here
https://gist.github.com/tspannhw/43dbc81b1634a7acb61fada1a3c19a4e
Created 08-02-2023 05:15 AM
@3markt, Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts @cotopaul @SAMSAL @TimothySpann who may be able to assist you further.
Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.
Regards,
Vidya Sargur,Created 08-02-2023 07:30 AM
Under the cover this is just using Apache FTP Server
Depends on passive ports
https://mina.apache.org/ftpserver-project/configuration_passive_ports.html
Send is over passive
An example is here
https://gist.github.com/tspannhw/43dbc81b1634a7acb61fada1a3c19a4e