The examples in this section use the following Internet
addresses:
- MVSXA2: 9.67.113.25
- MVSXA3: 9.67.113.24
The current host is MVSXA2 (9.67.113.25). An FTP command is
issued from 9.67.113.25 to 9.67.113.24.
User: ftp 9.67.113.24
System:
IBM FTP CS V1R5
FTP: using TCPCS
Connecting to 9.67.113.24, port 621
220-FTPD1 IBM FTP CS V1R2 at MVS164, 20:12:38 on 2003-01-02.
220 Connection will not timeout.
NAME (<host>:tsouserid):
User: user121
System:
>>>USER user121
331 Send password please.
Password:
>>>PASS ********
230 USER21 is logged on. Working directory is "/u/user121".
Command:
User: dir
System:
>>>PORT 9,67,112,25,4,25
200 Port request OK.
>>>LIST
125 List started OK.
total 2736
drwxr-xr-x 2 USER121 SYS1 0 Nov 20 18:15 IBM
-rwxr-xr-t 2 USER121 SYS1 389120 Feb 5 16:03 ftpdka
-rwxr-xr-t 2 USER121 SYS1 962560 Feb 5 16:04 ftpsrvka
-rw-r----- 1 USER121 SYS1 11648 Jan 20 14:30 g.s
drwxr-x--- 3 USER121 SYS1 0 Oct 21 17:50 msg
-rw-r----- 1 USER121 SYS1 1458 Jan 10 19:25 s.k
drwxr-x--- 2 USER121 SYS1 0 Feb 6 15:59 tcpip
drwxr-x--- 2 USER121 SYS1 0 Feb 6 17:29 test
250 List completed successfully.
Command:
User: ls
System:
>>>PORT 9,67,112,25,4,26
200 Port request OK.
>>>NLST
125 List started OK.
IBM
ftpdka
ftpsrvka
g.s
msg
s.k
tcpip
test
250 List completed successfully.
Command: