Hisoka-X commented on code in PR #7865:
URL: https://github.com/apache/seatunnel/pull/7865#discussion_r1803073518
##########
seatunnel-connectors-v2/connector-file/connector-file-ftp/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/ftp/system/SeaTunnelFTPFileSystem.java:
##########
@@ -172,13 +169,14 @@ private FTPClient connect() throws IOException {
*/
private void setFsFtpConnectionMode(FTPClient client, String mode) {
switch (FtpConnectionMode.fromMode(mode)) {
- case ACTIVE_LOCAL_DATA_CONNECTION_MODE:
+ case ACTIVE_LOCAL:
client.enterLocalActiveMode();
break;
- case PASSIVE_LOCAL_DATA_CONNECTION_MODE:
+ case PASSIVE_LOCAL:
client.enterLocalPassiveMode();
break;
default:
+ System.out.println("Unsupported FTP connection mode: " + mode);
Review Comment:
please use log.
--
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]