A fix is available
APAR status
Closed as program error.
Error description
The FTP server (ftpd) returns an error "550" for file not found when executing the LIST command to query an exact filename as follows. The wild card * is not used. ftp> ls abc 200 PORT command successful. 550 abc: A file or directory in the path name does not exist This behavior is not compliant with RFC 959. For consistency, this command should return the successful completion codes and no data files, as follows: ftp> ls abc 200 PORT command successful. 150 Opening data connection for abc. 226 Transfer complete. Additional Note: The wild card * pattern matching case is working correctly: ftp> ls abc* 200 PORT command successful. 150 Opening data connection for abc* 226 Transfer complete. Reference RFC 959, p51. LIST 125, 150 226, 250 425, 426, 451 450 500, 501, 502, 421, 530
Local fix
Problem summary
When executing NLST FTP sub-command on a non existing file/directory in AIX FTP server, the ftp client will display 550 as return code. For eg: ftp> ls abc 200 PORT command successful. 550 abc: A file or directory in the path name does not exist. ftp> Return code 550 for NLST cmd is non compliance with rfc 959.
Problem conclusion
Modified FTP server code to open a data connection and send 150 or 125 message if data connection succeeds, or 425 message if data connection fails. Followed by 150/125 message, send 226 message when NLST command is run on any non existing file/directory.
Temporary fix
Comments
6100-09 - use AIX APAR IV36071 7100-03 - use AIX APAR IV36935
APAR Information
APAR number
IV36935
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2013-02-19
Closed date
2013-02-19
Last modified date
2013-11-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U854680
UP13/11/22 I 1000
PTF to Fileset Mapping
U854680 bos.net.tcp.client 7.1.3.0
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
26 November 2013