IBM AS/400e Computer Hardware User Manual


 
The explanation for the FTP client subcommands as shown in Figure 176 follows.
The line numbers on the display correspond to the numbers that follow.
0001 User ID and password for dummy connection within client AS/400
SYSNAM03.
0002 Close dummy connection in AS/400 SYSNAM03.
0003 Open control connection to RISC System/6000 SYSNAMRS.
0004 USER subcommand with user ID and password for SYSNAMRS.
Note: When running FTP in batch mode, the USER subcommand must
follow an OPEN subcommand. Both the logon user ID and password
parameters for the USER subcommand should be provided. This is
different when operating FTP interactively online. When FTP is run
interactively online, then the client will automatically initiate a USER
subcommand and prompt you for a logon ID. There is no automatic
USER subcommand when running FTP in batch mode.
0005 Transfer ASCII data (will be converted on AS/400 to/from EBCDIC).
0006 CL command to be run on client AS/400: delete file. Instead parameter
(REPLACE could be used with the next statement.
0007 Retrieve file from RISC System/6000 system
0008 Close control connection to RISC System/6000 SYSNAMRS.
0009 Open connection to VAX MVAX.
0010 USER subcommand with user ID and password for MVAX.
0011 Retrieve file from VAX replacing existing AS/400 file.
0012 Close control connection to VAX MVAX.
0013 Open control connection to remote AS/400 SYSNAM02.
Columns...: 1 71 Browse GERRYLIB/QCLSRC
SEU==> FTPCMDS
FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7
*************** Beginning of data *************************************
0001.00 gwil ****
0002.00 close
0003.00 open sysnamrs
0004.00 user root root
0005.00 ascii
0006.00 syscmd dltf file(gerrylib/rs6)
0007.00 get /Itsotest gerrylib/rs6.rs6
0008.00 close
0009.00 open mvax
0010.00 user tester tester
0011.00 get screen1.file gerrylib/vax.vax (replace
0012.00 close
0013.00 open sysnam02
0014.00 user gwil ****
0015.00 ebcdic
0016.00 put gerrylib/rs6.rs6 gerrylib/rs6.rs6
0017.00 quote rcmd sndnetf file(gerrylib/rs6) tousrid((gwil sysnam14))
0018.00 close
0019.00 quit
****************** End of data ****************************************
F3=Exit F5=Refresh F9=Retrieve F10=Cursor F12=Cancel
F16=Repeat find F24=More keys
Figure 176. FTP Client Subcommands (File Member FTPCMDS)
Chapter 7. File Transfer Protocol (FTP) Client 273