The ftp commands provided by IBM below once worked with zos1.11 but now on zos1.13 it does not, can't be 100% sure but I believe that's when it stopped working. I did the upgrade from 1.11 to 1.13 so I know there were no changes made to the TCPIP config files. I tried adding in keyword SITE LISTSUBDIR but I got the same error.
What I have to do to get the files is modify the commands to cd into SMPPTFIN and SMPHOLD and do a get on the file in each folder. What am I missing here? tks Matt cd 2013081959238/PROD lcd /u/st1mat/IBM/ binary lmkdir U01302168 lmkdir U01302168/SMPPTFIN lmkdir U01302168/SMPHOLD lcd U01302168 mget * (REPLACE lcd SMPPTFIN mget SMPPTFIN/* (REPLACE lcd ../SMPHOLD mget SMPHOLD/* (REPLACE quit /* EZA1736I cd 2013081959238/PROD EZA1701I >>> CWD 2013081959238/PROD 250 CWD command successful. EZA1460I Command: EZA1736I lcd /u/st1mat/IBM/ EZA2581I HFS directory /u/st1mat/IBM/ is the current working directory. EZA1460I Command: EZA1736I binary EZA1701I >>> TYPE I 200 Type set to I. EZA1460I Command: EZA1736I lmkdir U01302168 EZA2593I HFS directory "/u/st1mat/IBM/U01302168" created. EZA1460I Command: EZA1736I lmkdir U01302168/SMPPTFIN EZA2593I HFS directory "/u/st1mat/IBM/U01302168/SMPPTFIN" created. EZA1460I Command: EZA1736I lmkdir U01302168/SMPHOLD EZA2593I HFS directory "/u/st1mat/IBM/U01302168/SMPHOLD" created. EZA1460I Command: EZA1736I lcd U01302168 EZA2581I HFS directory /u/st1mat/IBM/U01302168 is the current working directory. EZA1460I Command: EZA1736I mget * (REPLACE EZA1701I >>> TYPE A 200 Type set to A. EZA1701I >>> PORT 27,1,39,74,4,141 200 PORT command successful. EZA1701I >>> NLST * 150 Opening ASCII mode data connection for file list. 226 Transfer complete. EZA1701I >>> TYPE I 200 Type set to I. EZA1701I >>> PORT 27,1,39,74,4,142 200 PORT command successful. EZA1701I >>> RETR GIMPAF.XML 150 Opening BINARY mode data connection for GIMPAF.XML. 226 Transfer complete. EZA1617I 2720 bytes transferred in 0.270 seconds. Transfer rate 10.07 Kbytes/se EZA1701I >>> PORT 27,1,39,74,4,143 200 PORT command successful. EZA1701I >>> RETR GIMPAF.XSL 150 Opening BINARY mode data connection for GIMPAF.XSL. 226 Transfer complete. EZA1617I 4800 bytes transferred in 0.320 seconds. Transfer rate 15.00 Kbytes/se EZA2554W Get fails: /u/st1mat/IBM/U01302168/SMPHOLD is a directory. EZA1735I Std Return Code = 22000, Error Code = 00018 EZA1701I >>> QUIT 221 Goodbye. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
