You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "wanghao (Jira)" <ji...@apache.org> on 2022/04/22 09:34:00 UTC

[jira] [Created] (FTPSERVER-511) FTP被动模式返回域名

wanghao created FTPSERVER-511:
---------------------------------

             Summary: FTP被动模式返回域名
                 Key: FTPSERVER-511
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-511
             Project: FtpServer
          Issue Type: Wish
          Components: Core
    Affects Versions: 1.1.1
            Reporter: wanghao
             Fix For: 1.1.1


公网地址存在多个IP地址,需要访问内网环境ftp服务器,服务端配置setPassiveExternalAddress()方法参数passiveExternalAddress为ftptest.com.cn,公网客户端想配置host文件为 公网IP ftptest.com.cn,来解决被动模式不同客户端链接数据传输返回域名,客户端根据自己host文件解析域名来实现文件传输,时间服务端配置setPassiveExternalAddress()后返回的还是内网服务器IP。如何配置ftp服务端被动模式链接时返回客户端域名?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org