技术文章 - CS365860

网络更改锁定端口后,实施者升级到接收者失败,FTP“425 无法打开数据连接”

已修改: 21-Nov-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Implementer 10.1 to 12.6
  • Important note:
    • TCP/IP communications must be set up and working successfully. Other than what is required for Implementer, PTC does not assume responsibility for configuring or troubleshooting communications.  Implementer assumes that the port assigned by the system is open.

      To determine if a remote system is accessible (at the most basic level), from the host system issue the command PING <remote_system>. If you need assistance with configuring TCP/IP, see your network administrator.
       
    • This article is provided as a courtesy to help customers work around the issue reported in the Description
  • Implementer provides data area IMFTPPASV to control standard Passive Mode
    • The default value "*YES" uses passive mode
    • The value "*NO" uses non-passive mode and causes Implementer to insert the subcommand "SENDPASV 0" in the FTP script
  • Implementer does not provide any means to control Extended Passive Mode
  • When either passive mode is enabled, system assigns a random port between 1024 and 65535
  • When both passive modes are disabled, system uses the port defined for FTP (typically 21)
  • With the exception of the IMFTPPASV data area provided by Implementer to control standard Passive Mode, Implementer has no means to control the range of ports required to be opened for either passive modes or to enable/disable Extended Passive Mode

 

  • PTC provides the following information for customer's convenience only
    • Beginning with OS 7.1, IBM provides the new QIBM_FTP_PORT_RANGE environment variable
      • Used to specify a small range of ports that standard and extended passive mode will be restricted to use
      • Keep those ports defined by the range open
      • IBM PTF may be required to enable this functionality
      • See "Changing the ephermal port range for FTP and FTPS on the IBM i"
        • Current link is https://www.ibm.com/support/pages/changing-ephermal-port-range-ftp-and-ftps-ibm-i
        • If link is no longer valid, search for QIBM_FTP_PORT_RANGE
    • IBM provides a method to disable standard Passive Mode and/or Extended Passive Mode at the system level
      • See "Disabling EPASV/EPORT in the iSeries FTP Client at R610 and above"
        • Current link is https://www.ibm.com/support/pages/disabling-extended-passive-andor-extended-port-ibmi
        • If link is no longer valid, search for QTMFTPEPSV

说明

  • 网络管理员关闭远程系统上的通信端口后,升级到接收方失败
  • 默认情况下,IBM i FTP 使用扩展被动模式和标准被动模式
    • 两种模式均会分配 1023 以上的随机端口
  • 打开适当的作业日志记录后,作业日志显示
    • 229 进入扩展被动模式(|||nnnnn|)。
      • 其中“nnnnn”是 1024 至 65535 之间的随机端口号)
    • 425 无法打开数据连接。
这是文章 365860 的 PDF 版本,可能已过期。最新版本 CS365860