WilliamTan778 commented on code in PR #6084:
URL: https://github.com/apache/seatunnel/pull/6084#discussion_r1437334771


##########
seatunnel-connectors-v2/connector-file/connector-file-ftp/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/ftp/config/FtpConfigOptions.java:
##########
@@ -36,4 +36,9 @@ public class FtpConfigOptions extends BaseSourceConfigOptions 
{
             
Options.key("host").stringType().noDefaultValue().withDescription("FTP server 
host");
     public static final Option<Integer> FTP_PORT =
             
Options.key("port").intType().noDefaultValue().withDescription("FTP server 
port");
+    public static final Option<Boolean> FTP_ACTIVE_MODE_STATUS =
+            Options.key("active_mode_status")
+                    .booleanType()
+                    .defaultValue(true)
+                    .withDescription("FTP server mode default active");

Review Comment:
   
   
https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTPClient.html
 
   <img width="1715" alt="image" 
src="https://github.com/apache/seatunnel/assets/41814775/cac721c8-cb4d-4f83-8b85-c08943367656";>
   
   According to the above content, it can be seen that the Remote mode is 
server to server (FXP), while our product is in client and server mode, so 
currently only active is support  active_local 、passive_local , thank you very 
much
   
   



-- 
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]

Reply via email to