Skip to main content

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​

  1. Use the local user Telnet program to connect via Telnet/TCP to the RELAY host.
  2. Login on the RELAY host using a special account for the relay service.
  3. Use the user FTP on the RELAY host to connect via FTP/NCP to the donor host.
  4. FTP login on the donor host using the regular account.
  5. Copy the file from the donor host to the RELAY host.
  6. End the FTP session, and disconnect from the donor host.
  7. 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​

  1. Use the local user FTP to connect via FTP/TCP to the RELAY host.
  2. FTP login on the RELAY host using the special account for the relay service.
  3. Copy the file from the RELAY host to the local host, and delete the file from the RELAY host.
  4. 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.