Learn Windows XP Professional: Troubleshooting TCP/IP - Part 2 (Page 3) Page 3

Download the authoritative guide: Data Center Guide: Optimizing Your Data Center Strategy

Download the authoritative guide: Cloud Computing: Using the Cloud for Competitive Advantage

TELNET - Telnet is a terminal emulation program that allows a user to perform commands on a remote computer from a command window.

telnet [-a][-e escape char][-f log file][-l user][-t term][host [port]]

  • -a - Attempt automatic logon. Same as -l option except uses the currently logged on user's name.
  • -e - Escape character to enter telnet client prompt.
  • -f - File name for client side logging.
  • -l - Specifies the user name to log in with on the remote system. Requires that the remote system support the TELNET ENVIRON option.
  • -t - Specifies terminal type. Supported term types are vt100, vt52, ansi and vtnt only.
  • host - Specifies the hostname or IP address of the remote computer to connect to.
  • port - Specifies a port number or service name.

RCP - RCP copies files to and from computers running the RCP service. RCP uses the Transmission Control Protocol (TCP) to utilize the connected and reliable delivery of data between the client and the host. RCP can be scripted in a batch file and does not require a password. The remote host must be running the RSHD service, and the users username must be configured in the remote hosts .rhosts file. RCP is one of the r-commands available on all UNIX systems.

[NOTES FROM THE FIELD] - Microsofts implementation of TCP/IP includes the RCP client software but not rshd services.

RCP [-a | -b] [-h] [-r] [host][.user:]source [host][.user:] path\destination

  • -a - Specifies ASCII transfer mode. This mode converts the EOL character to a carriage return for UNIX and a carriage return/line feed for personal computers. This is the default transfer mode.
  • -b - Specifies binary image transfer mode.
  • -h - Transfers hidden files.
  • -r - Copies the contents of all subdirectories; destination must be a directory.
  • host - Specifies the local or remote host. If host is specified as an IP address OR if host name contains dots, you must specify the user.
  • .user: - Specifies a user name to use, rather than the current user name.
  • source - Specifes the files to copy.
  • path\destination - Specifies the path relative to the logon directory on the remote host. Use the escape characters (\, ", or ') in remote paths to use wildcard characters on the remote host.

This article was originally published on Sep 9, 2002
Page 3 of 4

Thanks for your registration, follow us on our social networks to keep up-to-date