[
https://issues.apache.org/jira/browse/FTPSERVER-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wanghao updated FTPSERVER-511:
------------------------------
Description:
公网地址存在多个IP地址,需要访问内网环境ftp服务器,服务端配置setPassiveExternalAddress()方法参数passiveExternalAddress为ftptest.com.cn,公网客户端想配置host文件为
公网IP
ftptest.com.cn,来解决被动模式不同客户端链接数据传输返回域名,客户端根据自己host文件解析域名来实现文件传输,时间服务端配置setPassiveExternalAddress()后返回的还是内网服务器IP。如何配置ftp服务端被动模式链接时返回客户端域名?
There are multiple IP addresses in the public network address. You need to
access the FTP server in the Intranet environment. The server configures the
setpassiveexternaladdress() method. The parameter passiveexternaladdress is
ftptest com. Cn, the public network client wants to configure the host file as
the public network IP ftptest com. Cn to solve the problem of different passive
modes. The client links the data transmission to return the domain name. The
client resolves the domain name according to its own host file to realize the
file transmission. After the time server configures
setpassiveexternaladdress(), the IP of the intranet server is returned. How to
configure the FTP server to return the client domain name when linking in
passive mode?
was:公网地址存在多个IP地址,需要访问内网环境ftp服务器,服务端配置setPassiveExternalAddress()方法参数passiveExternalAddress为ftptest.com.cn,公网客户端想配置host文件为
公网IP
ftptest.com.cn,来解决被动模式不同客户端链接数据传输返回域名,客户端根据自己host文件解析域名来实现文件传输,时间服务端配置setPassiveExternalAddress()后返回的还是内网服务器IP。如何配置ftp服务端被动模式链接时返回客户端域名?
> 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
> Priority: Major
> Fix For: 1.1.1
>
>
> 公网地址存在多个IP地址,需要访问内网环境ftp服务器,服务端配置setPassiveExternalAddress()方法参数passiveExternalAddress为ftptest.com.cn,公网客户端想配置host文件为
> 公网IP
> ftptest.com.cn,来解决被动模式不同客户端链接数据传输返回域名,客户端根据自己host文件解析域名来实现文件传输,时间服务端配置setPassiveExternalAddress()后返回的还是内网服务器IP。如何配置ftp服务端被动模式链接时返回客户端域名?
> There are multiple IP addresses in the public network address. You need to
> access the FTP server in the Intranet environment. The server configures the
> setpassiveexternaladdress() method. The parameter passiveexternaladdress is
> ftptest com. Cn, the public network client wants to configure the host file
> as the public network IP ftptest com. Cn to solve the problem of different
> passive modes. The client links the data transmission to return the domain
> name. The client resolves the domain name according to its own host file to
> realize the file transmission. After the time server configures
> setpassiveexternaladdress(), the IP of the intranet server is returned. How
> to configure the FTP server to return the client domain name when linking in
> passive mode?
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]