APPENDIX B. FTP Relay Scenario
Suppose a user at a TCP-only host wishes copy a file from a NCP-only donor host.
Phase 1
- Use the local user Telnet program to connect via Telnet/TCP to the RELAY host.
- Login on the RELAY host using a special account for the relay service.
- Use the user FTP on the RELAY host to connect via FTP/NCP to the donor host.
- FTP login on the donor host using the regular account.
- Copy the file from the donor host to the RELAY host.
- End the FTP session, and disconnect from the donor host.
- Logout of the RELAY host, close the Telnet/TCP connection, and quit Telnet on the local host.
+---------+ +---------+ +---------+
| | Telnet | | FTP | |
| Local |<-------->| Relay |<-------->| Service |
| Host | TCP | Host | NCP | Host |
+---------+ +---------+ +---------+
Phase 2
- Use the local user FTP to connect via FTP/TCP to the RELAY host.
- FTP login on the RELAY host using the special account for the relay service.
- Copy the file from the RELAY host to the local host, and delete the file from the RELAY host.
- End the FTP session, and disconnect from the RELAY host.
+---------+ +---------+
| | FTP | |
| Local |<-------->| Relay |
| Host | TCP | Host |
+---------+ +---------+
Note that the relay host may have a policy of deleting files more than a few hours or days old.