I’ll get the obvious questions out of the way first:
a) Are you signed in to the FTP server on the PC?
b) Could the session have timed out?
c) Are there any other status messages in your FTP session?
Having said that, you don’t need to have an FTP server on the PC to get data from the iSeries using FTP. The clue is in the word “get” which is FTP’s opposite to “put”.
All Windows PC’s come with Microsoft’s FTP client which you can run from a DOS window or via the Start/Run button:
When prompted, you can logon with your iSeries ID and password and then use the GET command to retrieve the file:
Connected to apollo.
220-QTCP at APOLLO.
220 Connection will close if idle more than 5 minutes.
User (apollo:(none)): myuserid
331 Enter password.
230 MYUSERID logged on.
ftp> quote site namefmt 0
250 Now using naming format “0”.
ftp> get auksys/qrpglesrc.bldr100m01 bldr100m01.txt
200 PORT subcommand request successful.
150 Retrieving member BLDR100M01 in file QRPGLESRC in library AUKSYS.
250 File transfer completed successfully.
ftp: 747 bytes received in 0.06Seconds 11.86Kbytes/sec.
221 QUIT subcommand received.
Using the FTP subcommand “QUOTE SITE NAMEFMT 0″ tells the FTP server to use the hierarchical naming convention of library/file.member. NAMEFMT 1 uses a document naming convention of /QSYS.LIB/library.LIB/filename.FILE/member.MBR.
Hope this helps
All the best