Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-511

FTP被动模式返回域名(setPassiveExternalAddress() return domain name)

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.1
    • 1.1.1
    • Core
    • None

    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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            wanghaoapache wanghao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: