This example shows how a single FTP session can be used
to connect to the following multiple foreign hosts:
- MVS™ Host: 2001:0DB8:c2d4::9:67:115:12
port 21
- VM Host: 192.9.2.4
ftp 2001:0DB8:c2d4::9:67:115:12
IBM FTP CS V1R5
FTP: using TCPCS
Connecting to: 2001:0DB8:c2d4::9:67:115:12 port: 21.
220-FTPD1 IBM FTP CS V1R4 at MVSVIC96, 12:38:19 on 2003-01-27.
220 Connection will close if idle for more than 5 minutes.
NAME (2001:0DB8:c2d4::9:67:115:12:USER1):
user2 ******
>>> USER user2
331 Send password please.
>>> PASS
230 USER2 is logged on. Working directory is "/".
Command:
User: close
System:
>>>QUIT
221 Quit command received. Goodbye.
Command:
User: open 192.9.2.4
_
System:
Connecting to: 192.9.2.4 port: 21.
220-FTPSERVE IBM VM Level 320 at VM.IBM.COM, 14:03:49 EST MONDAY 2003-01-11
220 Connection will close if idle for more than 5 minutes.
NAME (<host>:tsouserid):
User: vmuser
System:
>>USER vmuser
331 Sent password please.
Password:
>>>PASS ********
230 VMUSER logged in; working directory = VMUSER 191
Command:
User: account
System:
Usage: ACCT account-information
Command:
User: acct vmuser
System:
>>>ACCT ********
230 You now have write permission to VMUSER 191
Command:
User: close
System:
>>>QUIT
221 Quit command received. Goodbye.
Command: