TCP/IP Applications and Utilities User Guide HP Part Number: 427639-011 Published: June 2014 Edition: This manual supports J06.03 and subsequent J-series RVUs, H06.03 and subsequent H-series RVUs, and G06.
© Copyright 2010, 2014 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice.
Contents About This Manual........................................................................................9 Supported Release Version Updates (RVUs)..................................................................................9 Intended Audience....................................................................................................................9 New and Changed Information..................................................................................................
Logging Off and Stopping an FTP Session.............................................................................43 Stopping a File Transfer Operation.......................................................................................43 Controlling FTP Interaction.......................................................................................................43 Setting File Transfer Parameters.................................................................................................
prompt.............................................................................................................................67 proxy...............................................................................................................................67 put...................................................................................................................................68 pwd.......................................................................................................
Display List of Files...........................................................................................................107 Log On as Another User...................................................................................................108 Create Directory on Remote Machine.................................................................................108 Open Connection to Remote Host......................................................................................
10 Communicating With the TFTP Server......................................................127 TFTP Server Codes................................................................................................................127 Securing Files in the $SYSTEM.CSSnn Subvolume (SWAN Users)................................................127 Binding to a Single Subnet ...................................................................................................127 Transfer Restrictions.......................
Checklist For A Secure FTP Anonymous Site..............................................................................153 A Keyboard Mapping for TN6530..............................................................156 Introduction..........................................................................................................................156 TELNET Protocol...................................................................................................................156 Display Routines.....
About This Manual This manual describes the TCP/IP applications provided for use on HP’s implementations of a TCP/IP (Transmission Control Protocol/Internet Protocol) network: • HP NonStop TCP/IP • HP Parallel Library TCP/IP NOTE: Parallel Library TCP/IP is only supported on G-series RVUs.
The edition of the manual, 427639-008, is revised to add a reference section for domain name resolution. See “Addressing Remote Hosts” (page 23). The edition of the manual, 427639-007, is revised to provide the missing definition of FTPerrtext. See “Error Text” (page 105) in “FTP API External Specification” (page 99). The 427639-006 edition of this manual was been updated to reflect support of a new PARAM that is used to bind LISTNER to an IP address. This feature is supported for J06.
• Section 15, Anonymous FTP, describes anonymous FTP and how to set it up in both the Guardian and OSS environments. • Appendix A, Keyboard Mapping for TN6530, describes the keyboard mapping scheme for TN6530. • Appendix B, Error Messages, provides information on interpreting error messages and correcting the errors. • Appendix C, Installing TN6530 on a Sun Workstation, provides instructions for installing TN6530 on a Sun workstation.
?123 CODE RECEIVED: 123.00 The user must press the Return key after typing the input. [ ] Brackets Brackets enclose optional syntax items. For example: TERM [\system-name.]$terminal-name INT[ERRUPTS] A group of items enclosed in brackets is a list from which you can choose one item or none. The items in the list can be arranged either vertically, with aligned brackets on each side of the list, or horizontally, enclosed in a pair of brackets and separated by vertical lines.
If there is no space between two items, spaces are not permitted. In this example, no spaces are permitted between the period and any other items: $process-name.#su-name Line Spacing If the syntax of a command is too long to fit on a single line, each continuation line is indented three spaces and is separated from the preceding line by a blank line. This spacing distinguishes items in a continuation line from items in a vertical list of selections.
[ ] Brackets Brackets enclose items that are sometimes, but not always, displayed. For example: Event number = number [ Subject = first-subject-value ] A group of items enclosed in brackets is a list of all possible items that can be displayed, of which one or none might actually be displayed. The items in the list can be arranged either vertically, with aligned brackets on each side of the list, or horizontally, enclosed in a pair of brackets and separated by vertical lines.
• Cluster I/O Protocols (CIP) Configuration and Management Manual provides an overview of CIP and gives instructions for updating, configuring, and managing the CIP subsystem. • TCP/IP Programming Manual describes the programmatic interface to the NonStop TCP/IP software.
CIP Cluster I/O Protocols CSMA/CD Carrier Sense Multiple Access with Collision Detection DARPA Defense Advanced Research Project Agency DDN Defense Data Network DNS Domain Name Server DOD Department of Defense DSC Dynamic System Configuration DSM Distributed Systems Management DTE Data Terminal Equipment EGP Exterior Gateway Protocol EMS Event Management Service FTP File Transfer Protocol ICMP Internet Control Message Protocol IEEE Institute of Electrical and Electronics Engineers IEN Internet Engineering N
MIL-STD Military Standard MLAM Multilan Access Method (now part of TLAM) NIC Network Information Center OSI Open Systems Interconnection PDN Public Data Network PDU Protocol Data Unit PIN Process Identification Number RFC Request for Comments SAP Service Access Point SCF Subsystem Control Function SCP Subsystem Control Point SMTP Simple Mail Transfer Protocol SNAP Subnetwork Access Protocol SRI Stanford Research Institute.
UDP User Datagram Protocol XNS Xerox Network System WAN Wide Area Network X25AM X.
1 Introduction to TCP/IP Applications and Utilities The HP NonStop TCP/IP applications are a set of client and server programs that operate on a NonStop™ system and conform to the protocol family known as TCP/IP (Transmission Control Protocol/Internet Protocol). These client and server programs are supported by all three NonStop implementations of the TCP/IP protocol: • NonStop TCP/IP • Parallel Library TCP/IP NOTE: H-series systems do not support HP NonStop Parallel Library TCP/IP.
has a TFTP server that accepts requests from the TFTP client. The local and remote systems can place restrictions on which files you can request and where you can store files. TELNET You can use the TELNET client to emulate a network virtual terminal connected to a remote host system. You can connect to any system on the network that has a TELNET server. The services available to your terminal depend on what the remote system offers.
TN6530 runs on a UNIX system on a Sun workstation. Using TN6530, you can log on to a NonStop system and run applications that depend on the full capabilities of a terminal in the T16/6530 Multi-Page Terminal family. You can use the SMTP gateway to send mail to and receive mail from host systems on the internet. You process the mail by using your normal TRANSFER mail service and addressing messages to the SMTP gateway correspondent, which forwards the mail to the remote system.
NOTE: The PORTCONF file can be shared by two or more LISTNER processes. If the LISTNER processes are running on different TCP/IP processes, TCP/IP port binding succeeds when LISTNER processes are started. If the LISTNER processes use the same TCP/IP process and share the PORTCONF file, then TCP/IP port binding fails when more than one LISTNER process is started. Consider two LISTNER processes, A and B, which share a PORTCONF file and use the same TCP/IP process.
Example 1 Binding LISTNER to an IPv4 Address PARAM LISTNER^HOST^IP 192.168.10.10 LISTNER^HOST^IP also accepts IPv6 addresses. For example: Example 2 Binding LISTNER to an IPv6 Address PARAM LISTNER^HOST^IP 3ffe:1200:214:1:a00:8eff:fe04:6ef2 Addressing Remote Hosts You can address a remote host by specifying either a host internet address or a host name. Ask the person administering your network for the internet address or name of the host system you want to use.
can be simplified to: 1070:0:0:0:0:800:200C:417B When long strings of zeros appear in an address, double colons (::) can be used to represent several 16 -bit sections containing all zeros. For example: 1070:0:0:0:0:800:200C:417B can be further simplified to: 1070::800:200C:417B The double colon can appear only once in an address. It can, however, be used to represent both leading and trailing zeros.
to support local definitions of IPv4 and IPv6 addresses. (For DUAL mode, you can either use HOSTS for IPv4 addresses and IPNODES for IPv6 addresses, or you can put your IPv4 addresses in IPNODES.) Use the ADD DEFINE command of TACL to set the TCPIP^NODE^FILE environment variable. For more information about the IPNODES file, see the TCP/IPv6 Configuration and Management Manual or Cluster I/O Protocols (CIP) Configuration and Management Manual.
Here is a brief summary of these features: • To log on to the system, you must provide your user name (or user ID) and your user password. A user name has two parts: your group name and your individual name. You separate the names with a period: MKTG.WILLA You must get a user name from a group manager or system manager of the NonStop system you want to use.
2 ECHO—Testing Network Connections The ECHO client allows you to test your connection to a remote system by sending data to the ECHO server on that system. If the ECHO server returns the data you transmitted, you know that the server is running and accessible. In other words, the remote server echoes the data you transmit. For more detailed technical information about ECHO, refer to Network Working Group RFC 862. This RFC is available at several Web sites.
The quick brown fox jumped over the lazy dog. EOF! Press CTRL/Y TACL 6> Sending a Data File You can also test the connection by sending a data file. To do this, you first you create a text file containing the lines that you want to send. Then, you specify the file as the IN file in the ECHO run command. For example, assume a file named testdata contains three lines of text. To send the data, enter: TACL 6> echo /in testdata/ dist101 Establishing Connection to dist101...
3 PING—Checking Host Availability The PING program is used to test whether another host is reachable. PING sends an Internet Control Message Protocol (ICMP) echo request message to a host, expecting an ICMP echo reply to be returned. PING measures the round-trip time of the message exchange and monitors any packet loss across network paths. PING program execution is restricted to the SUPER.SUPER user ID.
NOTE: Users of all three HP NonStop TCP/IP products (NonStop TCP/IP, Parallel Library TCP/IP, and NonStop TCP/IPv6) can specify IPv4 addresses. > PING 192.168.150.15 80 20 PING 192.168.150.15: 80 data bytes 88 bytes from 192.168.150.15: icmp_seq=0. time=2. ms 88 bytes from 192.168.150.15: icmp_seq=1. time=1. ms 88 bytes from 192.168.150.15: icmp_seq=2. time=1. ms 88 bytes from 192.168.150.15: icmp_seq=3. time=1. ms 88 bytes from 192.168.150.15: icmp_seq=4. time=1. ms 88 bytes from 192.168.150.
20 packets transmitted, 20 packets received, 0% packet loss round-trip (ms) min/avg/max = 2/2/3 Running PING at a Terminal 31
4 FINGER—Displaying Network User Information The FINGER client allows you to get information about users who are currently logged on to a system on the network. You can request information about a single user or all current users on a system. The type of information provided and the format in which it appears vary depending on what is provided by the FINGER server on the system you specify. For more detailed technical information about FINGER, refer to Network Working Group RFC1288.
All Local Users To display information about all users currently logged on to your local system, omit the user and @host parameters. TACL 5> finger Checking processors... Grp User CE.JEAN DIST.ERNIE . . Program $SYSTEM.SYS04.TACL $SYSTEM.SYS04.TACL . . TTY $AE11 $AA40 . . Process Pid $C191 13,22 $C99 15,32 . . . . Users appear in alphabetic order. The oldest process attached to a single terminal is identified. A backup process is not listed.
Investigation of feeding habits of the rhinoceros. Assume the DOTPROJ file contains the following text: This project begins January 1990 with two months of field work in Kenya. members who .... The research team will include three A user who requests information about you will be able to determine the type of project you are working on and your plans for its completion.
5 Tracer— Tracing IP Packets The Tracer Utility displays the path taken by IP packets on route to a network host. Use the Tracer Utility to determine any problems that these packets might encounter. From each gateway system along the path, the Tracer Utility attempts to elicit an ICMP TIME_EXCEEDED message. From the destination remote host, it attempts to elicit a ICMP_PORT_UNREACHABLE message. Running the Tracer Utility from a Terminal You can use Tracer Utility only if your user ID is SUPER.SUPER.
ICMP_UNREACH_PORT message to conclude route tracing. The Tracer Utility informs you of this occurrence by printing an exclamation point either on your screen or in the disk file you specified. Specifying the -p option is useful when the default value (33434) does specify an actual port range on the destination host. In such cases, -p option allows you to specify an unused port range. [ -q nqueries ] specifies the number of probes, or queries, per TTL.
6 FTP—Transferring Files The FTP client allows you to transfer files to and from a remote host system while working interactively at your terminal. In addition to transferring files, you can work with directories on the remote system, delete and rename remote files, and use tools such as macros to make your work easier and more efficient. By using FTP, you can transfer ASCII files, unstructured files, and structured files such as key-sequenced, relative, and entry-sequenced files.
- s local IP Address turns on the feature of specifying a local IP address for the FTP client. -k turns on the feature of sending TCP Keep-Alive probes on the client side control connection. host identifies the remote host system. You can specify host as a host name or host internet address. See Addressing Remote Hosts on page 1-5 in Section 1, Introduction to TCP/IP Applications and Utilities, for information about specifying host names and addresses.
Table 1 FTP Command Summary (continued) Command Function Type bell Turn ringing of bell after file Session Controls transfer on or off G/OSS binary Set binary transfer type File Transfer Parameters G/OSS bye Disconnect from remote system and exit FTP Connections to Remote Systems G/OSS case Turn case mapping of remote file names on or off during execution of get or mget commands File Naming Control G/OSS cd Change remote working directory Remote Directories G/OSS cdup Change to parent
Table 1 FTP Command Summary (continued) 40 Command Function Type mdelete Delete multiple remote files File Management Operation G/OSS mdir Display information about multiple remote files/directories.
Table 1 FTP Command Summary (continued) Command Function Type G/OSS File Transfer Operation G/OSS local copy of remote file on or off send Copy local file to remote directory sendport Turn use of port command Session Controls for each data connection on or off G/OSS site Precedes all site-specific commands. Table 7-2 in Site-Specific Commands on page 7-4 describes these site-specific commands.
Creating an FTPCSTM Entry The FTPCSTM file contains logon and initialization information used when automatic logon is turned on. The subvolume on which you create this file must be your logon default subvolume when you start FTP or enter an open command. The file named FTPCSTM can be an edit file in the format shown in Figure 2. Figure 2 FTPCSTM File Format You can include the following initialization commands, separated by spaces or tabs, or placed on separate lines.
Guardian personality. However, if OSS is not running, or an invalid or non-existent initial directory is set, the FTP code allows the normal user to be logged on with the Guardian personality. NOTE: For the anonymous user, if an invalid or non-existent INITIAL-DIRECTORY is provided or if OSS is not running, the anonymous user logon will be denied.
You can use the status command to display the current setting of toggle commands and other FTP session controls. The following example illustrates how to turn on the bell and the debugging mode before logging on to a remote host: ftp> bell ftp> debug ftp> open warehs1 Setting File Transfer Parameters You can set values for several file transfer parameters that affect the way in which file transfers take place.
names beginning with the lowercase letter g (for more information, see “Specifying a Set of Files” (page 45)), ftp> pwd 257 "/usr" is current default. ftp> dir projects (A list of file names and file attributes appears.) ftp> mls g* (A list of file names beginning with g appears.) When you request directory information, you can specify that you want the output to be sent to a file instead of displayed on your terminal.
Verbose: on; Bell: off; Prompting: on; Globbing: on . . When glob is on, a wild-card name in an mput, mget, or mdelete command is expanded to a list of file names. For the mget and mdelete commands, the remote system expands the name and creates the list. For the mput command, the local system performs this task. The rules for using wild-card characters and examples of their use are given in the description of the glob command in the “FTP Command Reference” (page 48).
Either of the following commands sends a copy of a file named newaccts on the current default subvolume on the local system to the current working directory on the remote system. The name of the remote file will also be newaccts, modified by the current settings of nmap and ntrans: ftp> put newaccts ftp> send newaccts If you specify a remote file name, FTP sends that name to the remote system exactly as you specify it.
The remote system expands the wild-card name entry sal* to a list of files that match the pattern. The local name for each file consists of the remote file name, modified according to the current settings of case, ntrans, and nmap. If you want to be prompted before each file is copied, set the prompt toggle on. Deleting Files You can delete a single remote file by using the delete command, or a set of files by using the mdelete command with a wild-card name.
append Use the append command to append the contents of a local file to a file on a remote system. append local-file [ remote-file ] local-file is the Guardian file name of the file to be appended. remote-file is the name of the remote file. Specify remote-file as required by the remote system. If you do not specify remote-file, FTP uses the local-file name, after altering the name based on the current settings of ntrans and nmap.
wrap FTP inserts a line feed character after receiving the 239th ASCII character in a line. This is the only way to ensure that you will receive all the data in a file with lines longer than 239 characters Example For incoming files, to cause FTP to ignore all characters after the 239th in each line, type: ftp> aslinemode cut bell Use the bell command to turn on (or off) a mechanism to sound a bell after each file transfer completes. This command operates as a toggle.
Because case is not significant in Guardian names, you do not need to use this command. It is included in this implementation for compatibility with other versions of FTP. Example To change the setting of case, enter the following: ftp> case Case mapping on. cd Use the cd command to change the current working directory on the remote system. cd remote-directory remote-directory is the name of the remote directory you want to use.
Example: To set a connection timeout on the client side for 50 seconds, use the following command. ftp> contimer 50 In the above example, FTP client would wait for 50 seconds to accept the connection from the server before returning the prompt back to the user. cr Turns carriage return stripping on or off during ascii file-type retrieval. Records are denoted by a Carriage Return/Line Feed sequence during ascii file-type transfers.
Example To delete a file named custlist, enter the following command: ftp> delete custlist dir Use the dir command to display the contents of a directory on the remote system. dir [ remote-directory ] [ local-file ] remote-directory specifies the name of the directory you want to display. Specify remote-directory as required by the remote system. If the remote host is a NonStop system, specify this in the form subvolume.*. NOTE: HP NonStop does not support the Big File feature on the OSS platform.
Example To disconnect from a remote system and exit FTP, enter the following command: ftp> exit TACL 7> filecode Use the filecode command to specify a file code to be assigned to a newly created file during a get or recv file transfer operation. The code is applied only when the current data representation type is binary. A file code is an attribute of a Guardian file. filecode code code is an integer from 0 through 32767. The default code is 0.
through 340,000 are given the delta increment of .1. Records greater than 340,000 are given the delta increment of .001.
secondary indicates the secondary extent size in pages (2048-byte units) of the local file. secondary is an integer from 1 through 65535. For structured files, the default size is 16 pages. For unstructured files, the default is determined internally. maxextents indicates the maximum number of extents of the local file. maxextents is an integer from 1 through 978. The default value is 978 extents.
MAXEXTENTS 978 BUFFERSIZE 4096 OWNER 8,164 SECURITY (RWEP): NUNU DATA MODIF: 10 Oct 1994, 8:01 CREATION DATE: 10 Oct 1994, 8:00 LAST OPEN: 19 May 1995, 9:05 EOF: 775804 (2.4% USED) FILE LABEL: 250 (6.1% USED) EXTENTS ALLOCATED: 25 At the TACL prompt, start FTP and open a connection to the FTP server using its IPv4 address. (This example assumes that both hosts have IPv4 addresses.
ftp> open 133.255.17.1 Connecting to 133.255.17.1.........Established. 220 comm.Tandem.COM FTP SERVER T9552D30 (Version 2.c TANDEM 31OCT94) ready. Name (133.255.17.1:guest): manuals.writer 331 Password required for MANUALS.WRITER. Password: 230 User MANUALS.WRITER logged in. ftp> get keyseq source.keyseq,k,1001,5,5,16,60,4,0,512 200 PORT command successful. 150 Opening data connection for source.keyseq (133.255.17.1) (7680 bytes). 226 Transfer complete. local: keyseq remote: source.
INCORPORATED 2003 Connecting to fe80::a00:8eff:fe01:7db8.........Established. 220 idc15.wipro.tcpn.com FTP SERVER T9552G07 (Version 3.r TANDEM 01MAY2003) ready. Name (fe80::a00:8eff:fe01:7db8:user): super.super 331 Password required for SUPER.SUPER. Password: 230 User SUPER.SUPER logged in. GUARDIAN API enabled ftp> cd $fiti.remote 250 CWD command successful. ftp> lcd $fiti.q9552d Local working vol.subvol: "\IDC15.$FITI.Q9552D" ftp> get keyseq1 keyseq2,k,1001,5,5,16,60,4,0,512 200 EPRT command successful.
Table 2 Wild-Card Characters for Local File Names (continued) Characters Meaning ~ Indicates your logon volume and subvolume when specified at the beginning of the pattern; for example, ~.z* selects all files that begin with the letter z on your logon default volume and subvolume ($logon-volume.logon-subvol.z*). { s,...s } Matches any one of the strings (s) enclosed; for example, fil{old,new} matches the names filold and filnew.
lcd Use the lcd command to change the current subvolume on the local system. lcd [ subvolume ] subvolume is the Guardian name of the subvolume you want to use. If you omit subvolume, your default subvolume becomes the current one. Example To change to a subvolume named $vol1.memos, use the following command: ftp> lcd $vol1.memos Local working vol.subvol: "$vol1.memos" ls Use the ls command to display an abbreviated listing of the contents of a directory on a remote system.
Macros can save time, particularly if you include the definitions in the FTPCSTM file, which executes during automatic logon. Examples In the following example, the macro getf is defined and then executed. This macro specifies a mapping scheme and copies a file from a remote system: ftp> macdef getf Enter macro line by line, terminating it with a null line nmap $vol1.subvol.\$1 \$1 get $1 Press RETURN to end macro. ftp> $getf filexyz filexyz. nmap $vol1.subvol.$1 $1 get filexyz . .
ftp> mdelete cust* *x mdelete CUST123?y mdelete CUST451?n mdelete ACCT40X?y . . mdir Use the mdir command to display directory information about one or more remote files. mdir remote-files [ remote-files ] ... local-file remote-files is a file name or a wild-card name that specifies the remote files you want described. local-file sends the output to a local file instead of your terminal. FTP prompts you to confirm that you want to send output to the specified file.
mkdir directory-name directory-name specifies the name of the new directory. Specify directory-name as required by the remote system. The directory is created in the current working directory. Example To create a directory named memos, use the following command: ftp> mkdir memos mls Use the mls command to display abbreviated directory information about one or more remote files. mls remote-files [ remote-files ] ...
To generate remote names for the copied files, FTP applies the current settings of ntrans and nmap to the local file names. NOTE: When you transfer multiple binary files to a remote T16 system using mput, the file code for all destination files is 0. Example The following command copies the local files neword and oldord to the remote system: ftp> mput {new,old}ord mput NEWORD?y mput OLDORD?y nlist Use the nlist command to obtain a list of a remote directory.
ntrans Use the ntrans command to define or turn off a mechanism for translating local file names to remote file names during mput, put, and append operations and for translating remote file names to local file names during mget and get operations.
Example To connect to the remote system named sales3 through port 23, enter the following command: ftp> open sales3 23 Name (sales3:guest): user Password: ftp> If you do not have a password on the remote system, enter a space and press the RETURN key. prompt Use the prompt command to turn interactive prompting on or off. If prompt is on, you can selectively retrieve, store, and delete files; FTP prompts you before each file is transferred. This command operates as a toggle.
The proxy put, proxy mput, and proxy append commands copy files from the secondary to the primary server. NOTE: The proxy put and the proxy append commands will take filecode, primary, secondary, and maxextents for remote filename. Examples Assume you are working at a terminal connected to the local system in the main office. This system is named main. If you want to copy a file from sales district A’s system (salesa) to sales district B’s system (salesb), you first log on to one of the systems.
The syntax for transferring ASCII or binary files is: put local-file [ remote-file ] [ ,attribute-list ] where attribute-list is: [ [filecode],[primary],[secondary],[maxextents] ] The syntax for transferring structured files is: put local-file [ remote-file ] [ ,attribute-list ] where attribute-list is: [[filetype],[filecode],[primary],[secondary],[maxextents], [record-len],[pri-key-len],[key-offset],[index-blk-len ]] local-file specifies the name of the local file to be copied.
secondary indicates the secondary extent size in pages (2048-byte units) of the local file. secondary is an integer from 1 through 65535. For structured files, the default size is 16 pages. For unstructured files, the default is determined internally. For additional information, see “Usage Notes for Primary, Secondary and Maxextents Parameters” (page 73). maxextents indicates the maximum number of extents of the remote file. maxextents is an integer from 1 through 978. The default value is 978 extents.
$55> fup info $abc.source.bigedit,detail $ABC.SOURCE.BIGEDIT 19 May 1995, ENSCRIBE TYPE U CODE 101 EXT ( 8 PAGES, 16 PAGES ) ODDUNSTR MAXEXTENTS 978 BUFFERSIZE 4096 OWNER 8,164 SECURITY (RWEP): NUNU DATA MODIF: 10 Oct 1994, 8:01 CREATION DATE: 10 Oct 1994, 8:00 LAST OPEN: 19 May 1995, 9:05 EOF: 775804 (2.4% USED) FILE LABEL: 250 (6.1% USED) EXTENTS ALLOCATED: 25 9:16 At the TACL prompt, start FTP and open a connection to the FTP server using its IPv4 address.
FILE LABEL: 214 (5.2% USED) EXTENTS ALLOCATED: 2 INDEX LEVELS: 1 At the TACL prompt, start FTP and open a connection to the FTP server using its IPv4 address. (This example assumes that both hosts have IPv4 addresses.) Then, using the information highlighted in the above example, issue the FTP put command: 117> ftp FTP Client - T9552D30 - (31OCT94) - COPYRIGHT TANDEM COMPUTERS INC. 1994 ftp> open 133.255.17.1 Connecting to 133.255.17.1.........Established. 220 comm.Tandem.
As in the previous examples, use a FUP INFO command to obtain a detailed listing of the file before starting FTP. In this example, assume that the TYPE, CODE, REC, IBLOCK, KEYLEN, KEYOFF, and MAXEXTENTS values are the same as those for the file in Example 2. Next, start FTP and open a connection to the desired FTP server using its IPv6 address. Then, using the information from the FUP INFO command, issue the FTP put command: \IDC15.$FITI.FTPMARCH 91> ftp fe80::a00:8eff:fe01:7db8 \IDC15.$FITI.FTPMARCH 91..
Primary Secondary Maxextents Result specified specified not specified FTP set maxextents to the default value.You might create a Format 2 file when you want to create a Format 1 file. specified not specified specified FTP sets the secondary extent size to the value of primary extent size.The specified maxextents value is used. specified not specified not specified FTP sets the secondary extent size to the value of primary extent size.FTP uses the maxextents default value.
Once you have logged in, you can determine the active file system using the pwd command. If the result of this command is either in the form /G/volume/subvolume or an OSS path name, the OSS file system is active. If the result is in the form $volume.subvolume, the Guardian file system is active. NOTE: The quote Guardian/OSS command is disabled for the anonymous user. recv Use the recv command to copy a remote file to the local system. (The recv command performs the same operation as the get command.
filecode indicates the file code of the local file. filecode is a number from 0 through 32767. When FTP is in binary transfer mode, the default file code is 0. When FTP is in ASCII transfer mode, the default file code is 101. This attribute will override the current setting of the filecode command. primary indicates the primary extent size in pages (2048-byte units) of the local file. primary is an integer from 1 through 65535. The default is determined internally.
First, before starting FTP, obtain a detailed listing of the file: $55> fup info $ABC.source.bigedit,detail $ABC.SOURCE.BIGEDIT 19 May 1995, ENSCRIBE TYPE U CODE 101 EXT ( 8 PAGES, 16 PAGES ) ODDUNSTR MAXEXTENTS 978 BUFFERSIZE 4096 OWNER 8,164 SECURITY (RWEP): NUNU DATA MODIF: 10 Oct 1994, 8:01 CREATION DATE: 10 Oct 1994, 8:00 LAST OPEN: 19 May 1995, 9:05 EOF: 775804 (2.4% USED) FILE LABEL: 250 (6.
EXTENTS ALLOCATED: 1 INDEX LEVELS: 1 At the TACL prompt, start FTP and open a connection to the FTP server using its IPv4 address. (This example assumes that both hosts have IPv4 addresses.) Then, using the information highlighted in the above example, issue the FTP recv command: 117> ftp FTP Client - T9552D30 - (31OCT94) - COPYRIGHT TANDEM COMPUTERS INC. 1994 ftp> open 133.255.17.1 Connecting to 133.255.17.1.........Established. 220 comm.Tandem.COM FTP SERVER T9552D30 (Version 2.c TANDEM 31OCT94) ready.
\IDC15.$FITI.FTPMARCH 91> ftp fe80::a00:8eff:fe01:7db8 \IDC15.$FITI.FTPMARCH 91.. FTP Client - T9552G07 - (01MAY2003) - COPYRIGHT TANDEM COMPUTERS INCORPORATED 2003 Connecting to fe80::a00:8eff:fe01:7db8.........Established. 220 idc15.wipro.tcpn.com FTP SERVER T9552G07 (Version 3.r TANDEM 01MAY2003) ready. Name (fe80::a00:8eff:fe01:7db8:user): super.super 331 Password required for SUPER.SUPER. Password: 230 User SUPER.SUPER logged in. GUARDIAN API enabled ftp> cd $fiti.remote 250 CWD command successful.
reset Use the reset command to clear the reply queue in order to synchronize the command and reply sequence with the remote FTP server. Use this command when the FTP remote server violates the FTP protocol. The response to this command depends on how the remote server operates. reset Example To clear the reply queue, enter the following command: ftp> reset rmdir Use the rmdir command to delete a directory from a remote system. rmdir directory-name directory-name specifies the directory to be deleted.
You must have a connection established with an FTP server (called an FTP session) before you can issue the send command. The file transfer is based on the current status of all FTP options, toggles, and macros. Use the FTP status command to display these values. If the file you wish to copy is a structured file containing imbedded character sequences, you must first issue the stru command with the r option. See the stru command for more details.
secondary indicates the secondary extent size in pages (2048-byte units) of the local file. secondary is an integer from 1 through 65535. For structured files, the default size is 16 pages. For unstructured files, the default is determined internally. maxextents indicates the maximum number of extents of the remote file. maxextents is an integer from 1 through 978. The default value is 978 extents.
ODDUNSTR MAXEXTENTS 978 BUFFERSIZE 4096 OWNER 8,164 SECURITY (RWEP): NUNU DATA MODIF: 10 Oct 1994, 8:01 CREATION DATE: 10 Oct 1994, 8:00 LAST OPEN: 19 May 1995, 9:05 EOF: 775804 (2.4% USED) FILE LABEL: 250 (6.1% USED) EXTENTS ALLOCATED: 25 At the TACL prompt, start FTP and open a connection to the FTP server using its IPv4 address. (This example assumes that both hosts have IPv4 addresses.
ftp> open 133.255.17.1 Connecting to 133.255.17.1.........Established. 220 comm.Tandem.COM FTP SERVER T9552D30 (Version 2.c TANDEM 31OCT94) ready. Name (133.255.17.1:guest): manuals.writer 331 Password required for MANUALS.WRITER. Password: 230 User MANUALS.WRITER logged in. ftp> send $abc.source.keyseq keyseq,k,1001,6,6,16,4000,4,0,4096 200 PORT command successful. 150 Opening data connection for source.keyseq (133.255.17.1) (7680 bytes). 226 Transfer complete. local: keyseq remote: source.
01MAY2003) ready. Name (fe80::a00:8eff:fe01:7db8:user): super.super 331 Password required for SUPER.SUPER. Password: 230 User SUPER.SUPER logged in. GUARDIAN API enabled ftp> cd $fiti.remote 250 CWD command successful. ftp> lcd $fiti.q9552d Local working vol.subvol: "\IDC15.$FITI.Q9552D" ftp> send PERFK0 keyseq,k,1001,6,6,4000,4,0,4096 200 EPRT command successful. 150 Opening data connection for keyseq (fe80::a00:8eff:fe01:7db8,1349d). 226 Transfer complete. local: $fiti.q9552d.
status Use the status command to display the current status of all FTP options and toggles and the names of macros currently defined. status Example To display current session information, enter status at the ftp> prompt. The response is similar to this one: ftp> status Connected to warehs1.zzzco.COM. No proxy connection.
or get command; next issue the stru f command (to return FTP to file-structure transfer mode). The following example illustrates this. This example copies a local key-sequenced structured file (containing embedded character sequences), named keyseq, to a remote NonStop system. First, before starting FTP, obtain a detailed listing of the file: $PUBS FTPTEST 14> fup info $abc.source.keyseq,detail $ABC.SOURCE.
Next, start FTP and open a connection to the desired FTP server using its IPv6 address. Then, issue the stru r command. Using the information highlighted in the above example, issue the FTP put command, then issue the stru f command: \IDC15.$FITI.FTPMARCH 91> ftp fe80::a00:8eff:fe01:7db8 \IDC15.$FITI.FTPMARCH 91.. FTP Client - T9552G07 - (01MAY2003) - COPYRIGHT TANDEM COMPUTERS INCORPORATED 2003 Connecting to fe80::a00:8eff:fe01:7db8.........Established. 220 idc15.wipro.tcpn.
type Use the type command to set the data representation type used for data transfer and storage. type { ascii | binary | tenex } type-name specifies the data representation type. If you omit type-name, the default type is ascii. See the ascii and binary command descriptions for additional information. Examples To change the type to binary, enter the following command: ftp> type binary ftp> You can also use the binary command to set this type.
NOTE: The statistics displayed by this command are approximate and should not be used to compare FTP performance with other implementations. Example Assume verbose is on. The following example illustrates the effect of turning verbose off: ftp> put xtst123 200 PORT command successful. 150 Opening data connection for xtst123 (127.0.0.1,1198) 226 Transfer complete. local: xtst123 remote: xtst123 45 bytes sent in 0.02 seconds (2.19 Kbytes/s) ftp> verbose Verbose mode off.
$custget a* b* c* The first time the macro executes, the mget command uses the wild-card name a* to request the files. The second time it uses the wild-card name b*; the third time mget uses c*. In the next example, the macro has two arguments, one for a file name and one for a directory name: ftp> macdef putfile Enter macro line by line, terminating it with a null line cd $1 put $2 ftp> $putfile dirxyz fileabc cd dirxyz FTP displays the commands put fileabc ftp> as they execute.
7 Communicating With the FTP Server HP NonStop TCP/IP applications include an FTP server (ftpserv) that you can connect to while using an FTP client on another network system. FTP Server Commands The FTP server supports the FTP commands described in Table 3 and recognizes, but does not process, any other FTP commands defined in Internet RFC 959. The FTP client can use uppercase or lowercase letters in command syntax.
Table 3 FTP Commands Processed (continued) Command Processing Performed MODE Sets the data transmission mode. Only stream mode is supported. Syntax: MODES NLST Provides the names of files on a specified subvolume of the server system or on the default subvolume, if none is specified. Syntax: NLST [ subvolume.* | filename ] NOOP Initiates only an OK reply from the server. Syntax: NOOP) PASS Specifies the user's password. This command must be preceded by the USER command.
Table 3 FTP Commands Processed (continued) Command Processing Performed STOU Performs a STOR operation but assigns a unique file name. See the description of the FTP runique command in Section 6, FTP—Transferring Files, for details about the naming scheme used. Syntax: STOUfilename STRU Sets the transfer structure to record-structure file or file-structure file. Syntax: STRU { r | f } TYPE Sets the data representation type, which can be A for ASCII text files or B for binary data.
transfer files from host B to host C by the third party (host A). The NonStop FTP server can perform the role of host B (or host C) if the other server in the operation supports the PASV command. The following example illustrates, in a general way, how issuing FTP proxy commands at host A can establish connections and transfer files. Your FTP client may, however, issue a different ftp prompt from the one shown (ftp>). Host B is named phost (primary host) and has internet address 50.0.0.3.
Command Syntax The syntax for the commands used to transfer structured files is: append local-file [ remote-file ] get remote_file [ local-file [ , attribute-list ] ] put local-file [ remote-file [ , attribute-list ] ] recv remote_file [ local-file [ , attribute-list ] ] send local-file [ remote-file [ , attribute-list ] ] The attribute-list is: [ [ filetype ] , [ filecode ] , [ primary ] , [ secondary ] , [ maxextents ] , [ record-len ] , [ pri-key-len ] , [ key-offset ] , [ index-blk
Example For this example assume the following: abc is an ASCII-coded file ebig is an entry-sequenced file with a file code of 1001 kbig is a key-sequenced file with a file code of 1002 rbig is a relative file with a file code of 1003 The program: STRU F put abc ebig using the attributes for ebig file, overwrite its content with abc. ebig is still an entry-sequenced file. put abc kbig overwrites kbig with abc. put abc rbig overwrites rbig with abc.
Disallowing Logons The system administrator can disallow logons by simply creating a file, named FTPUSERS, secured for restricted access. FTPUSERS is an ASCII-coded edit file (type 101) that resides on $SYSTEM.ZTCPIP. The FTPUSERS file contains a list of users for whom logons are disallowed. Comment lines can be prefixed with the number symbol (#) in the first column. User names and aliases are entered into this file by the system administrator.
8 FTP API External Specification The FTP API external specification describes the external interface offered by the FTP application program interface (API). Key Objectives and Features The API is designed to allow application programs to access the HP NonStop File Transfer Protocol (FTP) programmatically. The API is a set of library routines. The application program links its object code with the API library object file to create an executable image file.
Table 5 FTP Command Functions (continued) Command Function FTPconnect Allows user to connect to another host after logging off from the remote host using FTPclose. (wait) FTPconnect_nw Allows user to connect to another host after logging off from the remote host using FTPclose. (nowait) FTPcontimer Sets the value for the length of time the client waits for an incoming connection request from the server.
Table 6 File-Management Commands (continued) Command Function Creates a directory on remote host. (wait) FTPmkdir Creates a directory on remote host. (nowait) FTPmkdir_nw Stores a file onto a remote host. (wait) FTPput Stores a file onto a remote host. (nowait) FTPput_nw FTPquote Sends specific arguments verbatim to the remote host. The arguments are not subjected to normal command parsing. (wait) FTPquote_nw Sends specific arguments verbatim to the remote host.
Table 7 FTP Miscellaneous Functions Command Function FTPerrmsg Prints the error message text associated with the current error number to the stdout. FTPerrtext Returns the error text associated with the current error number to the application making the call. FTPio Checks that I/O status is completed. FTPlist Returns a list of file names that matches the pattern specified. (wait) FTPlist_nw Returns a list of file names that matches the pattern specified.
#include "ftpexth" short FTPasline(short hd, short proxy, short mode) short FTPasline_nw(short hd, short proxy, short mode, long tag) hd File number. proxy 1 , his command applies to the proxy connection.Do not specify 1. If you do, you will receive an error 414 (NOT_PROXY) when the call executes. 0 , this command applies to the primary connection. mode valid options includes: NONE, WRAP and CUT. tag tag parameter to be used for GUARDIAN nowait operation initiated by FTPappend_nw.
Disconnect From Remote Server The routine FTPclose disconnects the user from a remote FTP server, but does not exit from FTP. Thus, the user can connect to another host without invoking FTP again. #include "ftpexth" short FTPclose(short hd) hd File number. The return value is -1 if the routine fails, otherwise the routine is successful. The error number is set accordingly.
hd File number. proxy 1 , this command applies to the proxy connection. 0 , this command applies to the primary connection. filename Name of the file to be deleted. tag parameter to be used for the GUARDIAN nowait operation initiated by FTPdelete_nw. The return value is -1 if the routine fails, otherwise the routine is successful. The error number is set accordingly. Error Text The routine FTPerrtext returns the error text associated with the current errno up to the size limit of the buffer.
in remote file name. out a string containing the local file name and a list of attributes for the local file. You must specify the attributes in the order indicated below; use commas as placeholders and omit spaces.
Check I/O Status The routine FTPio checks whether the I/O associated with the connection has been completed. #include "ftpexth" short FTPio(short *hd, long wait, char **buffer, long *tag) hd file number. wait <>0,wait indefinitely for this command to. 0 , returns to the caller immediately, regardless of whether or not an I/O completion occurs buffer pointer to where the data is returned. tag same as tag parameter in AWAITIOX.
proxy 1, this command applies to the proxy connection. 0, this command applies to the primary connection. pattern pattern to be matched. buffer buffer area to hold the return results. The list of file names will be separated by CRLF. limit maximum number of bytes that the buffer can hold. If the return list is longer than the limit, the error number will be set to TRUNCATED, and data up to limit size will be returned in the buffer.
proxy 1, this command applies to the proxy connection. 0, this command applies to the primary connection. dir name of the directory to be created. tag parameters to be used for Guardian nowait operation initiated by FTPmkdir_nw. The return value is -1 if the routine fails. The error number is set accordingly. Open Connection to Remote Host The routines FTPopen and FTPopen_nw open a connection to the remote host.
hd file number. host name of the remote host. port port number to be used. If the port number specified < 0, the system will choose its own port number. user username used to logon. passwd password. acct account to be used to log on. If acct is set to "", it is considered unspecified. tag parameter to be used for the Guardian nowait operation initiated by FTPproxy_nw. The return value is -1 if the routine fails and the error number is set accordingly. Otherwise the routine is successful.
primary indicates the primary extent size in pages (2048-byte units) of the remote file. primary is an integer from 1 through 65535. For structured files, the default size is 8 pages. For unstructured files, the default is determined internally. secondary indicates the secondary extent size in pages (2048-byte units) of the remote file. secondary is an integer from 1 through 65535. For structured files, the default size is 16 pages. For unstructured files, the default is determined internally.
limit maximum number of bytes the buffer can hold. If returned data size exceeds the buffer size, then error number will be set to TRUNCATED, and the return data is set to the size of limit. tag parameter to be used for the GUARDIAN nowait operation initiated by FTPpwd_nw. The return value is -1 if the routine fails. The error number is set accordingly. Send Arguments to Remote Host The routines FTPquote and FTPquote_nw send specific arguments verbatim to the remote host.
#include "ftpexth" short FTPreplytext(short hd, char *buffer, short limit) short FTPreplytext_nw(short hd, char * buffer,short limit, long tag) hd file number. buffer buffer area to hold the result. limit maximum number of bytes the buffer can hold. If reply text is longer than the limit, the error number is set to TRUNCATED,and data up to the limit size is returned in the buffer. tag parameter to be used for the Guardian nowait operation Return value -1 if fails.
Set File Code The routines FTPsetfilecode and FTPsetfilecode_nw set the file code. #include "ftpexth" short FTPsetfilecode(short hd, short proxy, short filecode) short FTPsetfilecode_nw(short hd, short proxy, short filecode, long tag) hd File number. proxy 1, this command applies to the proxy connection. 0, this command applies to the primary connection. filecode file code to be used. tag parameter to be used for the Guardian nowait operation initiated by FTPsetfilecode_nw.
proxy 1, this command applies to the proxy connection. 0, this command applies to the primary connection. structure valid structure types include: 'F' File 'R' Record tag parameter to be used for the Guardian nowait operation initiated by FTPsetstruct_nw. The return value is -1 if the routine fails. The error number is set accordingly. Set Transfer Type The routines FTPsettype and FTPsettype_nw set the transfer type to ascii or binary mode.
limit maximum number of bytes the buffer area can hold. tag parameter to be used for the Guardian nowait operation initiated by FTPsystem_nw. The return value is -1 if the routine fails. The error number is set accordingly. Runtime Options The routine FTPoption sets the runtime options for the FTP client.
if (FTPpwd(hd1,PROXY,&buffer[0],511)<0) printf("errno returned: %d\n",errno); if (FTPio(&hd1,WAIT,&cp,&tag)) printf("result: %s\n",cp); else printf("errno returned: %d\n",errno); if (FTPget(hd1,PRIMARY,"abc","") < 0) printf("errno returned: %d\n",errno); else printf("successful retrieve file abc\n"); if (FTPget(hd1,PROXY,"c","") < 0) printf("errno returned: %d\n",errno); else printf("successful retrieve proxy file c\n"); if (FTPput(hd1,PRIMARY,"eft","mmm") < 0) printf("errno returned: %d\n",errno); else pri
For detailed information about compiling and linking programs in C or C++, refer to the C/C++ Programmers Guide. CAUTION: When you compiling the C or C++ application and the obects are CISC objects, always specify the wide model. Requirements Each active FTP session must have a different log file to store the log information on disk. Currently, a log file that is also a disk file can not be shared among active FTP sessions.
9 TFTP—Transferring Public Files The TFTP client allows you to transfer public files to and from a remote host system. TFTP does not provide any mechanism for you to log on to the remote system and verify, through a user ID and password, which files you can access. The files you are allowed to retrieve from a remote system are typically secured for public access; that is, anyone on the network can read the files.
Table 8 TFTP Command Summary (continued) Command Purpose mode Set the file transfer mode. put Send a file. rexmt Set the time interval before retransmission of a packet that is not acknowledged by the remote system. status Display the current settings of the TFTP session and the file transfer parameters. timeout Set the timeout interval after which TFTP stops transmitting a packet that is not acknowledged by the remote system. trace Turns the display of packet tracing information on or off.
TFTP Command Reference The following pages contain descriptions of the syntax (enclosed in boxes) and rules for using TFTP commands, and provide examples of typical ways to use the commands. ascii Use the ascii command to set the file transfer mode used for data transfer and storage to ASCII. ascii You can also use the mode command to perform this function. Example Assume the verbose toggle is on.
get Use the get command to copy one or more remote files to the local system. get { [host:]remote-file [ [host:]local-file ] } { } { file1 file2 ... filen } host is a host name identifying the remote system from which the file is copied. You cannot specify a host address. For information about specifying host names and addresses, see Addressing Remote Hosts on page 1-5, in Section 1, Introduction to TCP/IP Applications and Utilities. remote-file specifies the name of the remote file to be copied.
command-name specifies a TFTP command. If you omit command-name, a list of all TFTP commands is displayed. Example In the following example, the help command requests information about the connect command: tftp> help connect connect to remote tftp mode Use the mode command to set the file transfer mode used for data transfer. mode { [net]ascii | image | binary | octet } [net]ascii specifies that data is to be transferred and stored in ASCII format. This is the default mode.
filen specifies one of a set of local files to be copied. Each remote file is assigned the same name as its corresponding local file. The files are copied from the current default subvolume unless you specify qualified Guardian names. If you qualify a local file name, the system, volume, and subvolume parts of the name are omitted from the corresponding remote file name, and the remote file is stored in the current directory. For example, assume the remote directory is currently /etc/test.
If you omit interval, TFTP prompts you for a value, as in the following example: tftp> rexmt (value) 3 status Use the status command to display the current settings of the TFTP session and the file transfer parameters. status Example The status command displays the following information: tftp> status Connected to medlab.MRAM.
sent ACK . . verbose Use the verbose command to turn the display of file transfer statistics on or off. This command operates as a toggle. verbose When you start TFTP, the verbose toggle is off. If you turn verbose mode on, TFTP displays the number of bytes sent or received, and the number of seconds required for the operation. NOTE: The statistics displayed by this command are approximate and should not be used to compare FTP performance with other implementations.
10 Communicating With the TFTP Server HP NonStop implementations of TCP/IP provide a TFTP server that allows you to transfer files to and from a NonStop system while using a TFTP client on another network system. The TFTP Server can handle as many as 120 simultaneous requests without performance degradation NOTE: The TFTP Server consists of two distinct process types: TFTPSRV and TFTPCHLD. A single TFTPSRV process validates requests and one or more TFTPCHLD processes handle data transfer.
For an example of the TFTP Server RUN command, see “Subvolume Restrictions” below. NOTE: Ask your system manager for the name of the TCP/IP process on your system. If the process is named anything other than $ZTC0, specify that name in a TCPIP^PROCESS^NAME TACL PARAM command before running tftpsrv. Refer to the TACL Reference Manualfor more information about TACL PARAM commands. You might also need to resolve the DEFINE name =TCPIP^HOST^FILE.
Restrictions on Storing Files When using the PUT command, you can store files on a remote system if you observe the following file security restrictions: • To overwrite an existing remote file with a local file, you must make sure that the file on the remote system is secured for write access granted to the network user (xNxx). NOTE: Both the local file and the remote file you want to overwrite must be in the same mode (for example ASCII).
11 TELNET—Using a Network Virtual Terminal The TELNET application allows you to emulate a virtual terminal connected to a remote host. You can connect to any remote host on the network that has a TELNET server. You can also transfer data to a remote system through a non-TELNET port. Running TELNET at a Terminal To run the TELNET client on your Guardian system, you must enter the TELNET run command at the command interpreter prompt.
Table 11 TELNET Command Summary (continued) Command Purpose quit Disconnect from remote system and exit TELNET. send Send special characters to remote system. status Display current status of TELNET. toggle Turn TELNET toggle controls on or off. ttywritesz Specify number of characters to be sent at one time from remote system to your terminal. To enter one of these commands, you only need to specify enough characters to differentiate the command from all the other commands.
Table 12 Special Characters Name Keys Function echo ^E In line input mode, turns on or off the display (echoing) of characters you are entering. This character is useful when you are entering a password. eof ^Y In line input mode, sends this character to the remote system (if eof is the first character entered on the line). erase ^H In character input mode with the localchars toggle on, sends the TELNET EC (erase character) sequence to the remote system.
---> USER ---> PASS ---> 220 offc412.zzzco.COM FTP server ... matthew 331 password required for matthew bday 230 user matthew logged in . . The remote FTP server sends the lines that begin with --->. In this case, the TELNET client communicates with the FTP server. TELNET Command Reference The following pages contain descriptions of the syntax (enclosed in boxes) and rules for using TELNET commands, and provide examples of typical ways to use the commands.
telnet> display i n [^C] interrupt. Won't print hexadecimal representation of network traffic. (Press RETURN to return to terminal mode.) TACL 10> help Use the help command to display either a summary of all TELNET commands or information about a specific command. help [ command-name ] command-name specifies the name of the command you want described. Examples To request information about the open command, enter the following command: telnet> ? open connect to a site See the ? command for more examples.
Example The following command establishes a connection to the TELNET server on a system named dist101: telnet> open dist101 quit Use the quit command to close the remote connection and exit TELNET. quit If TELNET encounters the end of the file, the result is the same as issuing a quit command. Example To disconnect from the remote system and exit TELNET, enter the following command: telnet> quit send Use the send command to send one or more special character sequences to the remote system.
Example Assume you are working with a remote system in character input mode, and you want to erase the characters you have entered on a line. In this example, the remote system prompt is a dollar sign ($): $ cp outk Enter escape character. telnet> send el Send erase line sequence. $ Remote system erases line. status Use the status command to display the name of the remote system to which you are connected, the current input mode, and the current escape character.
Table 14 Toggle Controls (continued) Argument Initial Setting Function characters received from the remote system are mapped into a carriage return followed by a line feed (unless a line feed is sent also). This mode is useful only if the remote system sends carriage returns but not line feeds. localchars off Controls the local recognition of special characters and their transformation into appropriate TELNET sequences.
telnet> toggle ? autoflush autosynch crmod . . options (debugging) ? telnet> 138 toggle flushing of output when send... toggle automatic sending of interrupt... toggle mapping of received carriage...
12 Communicating With the TELNET Server You can establish communications with the HP NonStop TELNET server from any system on the network that has a TELNET client. You invoke the TELNET client at a terminal on the other system, and the client establishes the connection with the TELNET server. Establishing a Connection When you request a connection to a NonStop system from your TELNET client, the TELNET server performs the following operations: 1.
Table 15 TELNET Options Supported Option Resulting Action AO (Abort Output) Discards all pending output and synchronizes the systems. AYT (Are You There) Sends the message “[Yes]” to the client. BREAK (Send Break) Sends a BREAK message to the break owner of the associated terminal. DM (Data Mark) Causes the client and server to synchronize with each other. DO (Do option) Signifies that either the client or the server is asking the other to use a certain option.
13 Using Your Workstation as a 6530 Terminal The TN6530 is a multiple-page terminal emulation utility that runs on a BSD-based UNIX system (specifically, the Sun Microsystems machine running SunOS Release 3.5 or higher, or UNIX 4.2). When you run TN6530, your workstation emulates a 6530 series (653X) terminal, allowing you to log on to a NonStop computer and run applications that depend on the full capabilities of a 653X terminal.
Enter Choice> tacl TACL 1> NOTE: If you receive a message indicating that the service you have selected is not available, inform the system manager of the remote system that the service has not been started. If you omit the host name (or address) when you start TN6530, or if your connection to the host system does not succeed, you can use the TELNET open command to try to make the connection again.
2. Enter quit to stop the emulator: tn6530> quit The UNIX prompt (%) appears again. Keyboard Layouts The 653X keyboard layout is different from the layout of your workstation. As a result, many functions are accessed differently on the two keyboards. Use the illustrations in Figure 3 to compare the 653X keyboard layout with a typical Sun workstation layout. Figure 3 653X and Sun Keyboard Layouts Cross-Reference Key Chart Use Table 17 to find the Sun workstation keys that correspond to the 653X keys.
Table 17 Sun Workstation and 653X Keys Function 653X Keyboard Sun Keyboard Application-defined F1 LEFT/RIGHT + 1 function keys F2 LEFT/RIGHT + 2 F3 LEFT/RIGHT + 3 F4 LEFT/RIGHT + 4 F5 LEFT/RIGHT + 5 F6 LEFT/RIGHT + 6 F7 LEFT/RIGHT + 7 F8 LEFT/RIGHT + 8 F9 LEFT/RIGHT + 9 F10 LEFT/RIGHT + 0 F11 LEFT/RIGHT + Q F12 LEFT/RIGHT + W F13 LEFT/RIGHT + E F14 LEFT/RIGHT + R F15 LEFT/RIGHT + T F16 LEFT/RIGHT + Y SHIFT/F1 SHIFT + LEFT/RIGHT + 1 SHIFT/F2 SHIFT + LEFT/RIGHT + 2 SHI
Table 17 Sun Workstation and 653X Keys (continued) Function 653X Keyboard Sun Keyboard Cursor home HOME R7 Cursor home down SHIFT/HOME R11 Cursor to after last data CTRL/HOME R5 Cursor to beginning of line SHIFT/RETURN R3 Cursor to end of line CTRL/RETURN R6 Roll up one line ROLL UP R1 Roll down one line ROLL DOWN R4 Next page NEXT PAGE R15 Previous page PREV PAGE R9 Set tab CLR-TAB-SET F7 Clear tab SHIFT/CLR-TAB-SET F8 Clear all tabs CTRL/SHIFT/CLR-TAB-SET F9 Horizont
Table 18 Unsupported 653X Functions Function 653X Keystroke Display configuration menu CONFG Return to normal display SHIFT/CONFG Display full configuration menu CTRL/SHIFT/CONFG Alternate character set ALT/CHAR Print page PRINT Modem disconnect CTRL/SHIFT/BREAK Hard reset CTRL/SHIFT/RESET Turn on 25th line status display CTRL/NEXT PAGE Turn off 25th line status display CTRL/PREV PAGE Execute self test CTRL/SHIFT/0 Terminal Options and Attributes TN6530 uses the TELNET protocol to comm
See “Initializing Terminal Options” (page 147). 40-Character Lines TN6530 supports 40-character lines by assigning one column to each displayable character. Double-width characters are displayed as normal characters, and the right half of the screen is not used.
Table 19 Terminal Options (continued) Option Values dim Reverse specifies reverse video. underline The default for each attribute is normal. The following example illustrates a. tn6530init file.
◦ Numeric—You can enter only numeric digits. ◦ Alphanumeric—You can enter only letters or digits. ◦ Full numeric—You can enter only numeric digits and characters used in the expression of numbers ($ + , - .). ◦ Full numeric with space—You can enter a space, as well as full numeric characters. ◦ Alphabetic with space-—You can enter a space, as well as alphanumeric characters. If you enter invalid data, a message appears in the status line.
14 Addressing Mail to SMTP Hosts The SMTP Gateway The Simple Mail Transfer Protocol (SMTP) gateway allows you to send and receive mail through an HP NonStop TRANSFER mail service (such as M6530 or PSMAIL) to and from users whose mail service is provided by an SMTP host on the internet. The SMTP gateway also acts as an intermediate node in relaying SMTP messages between SMTP hosts. To use the SMTP gateway, you start your mail service in the usual way.
See the See the TCP/IP Configuration and Management Manual or the TCP/IP (Parallel Library) Configuration and Management Manual for more information. SMTP-host is the name of the system on which the SMTP gateway correspondent is configured. You can send mail through an SMTP gateway on a system on the HP network. If the gateway correspondent is on your local system, you can omit this parameter. recipient-address is the address of the mail recipient. You can specify any address that conforms to RFC 822.
15 Anonymous FTP Anonymous FTP provides a means by which an archive site allows general access to the archives of information at that site. Each site creates a special “anonymous” logon, which has limited access rights to the archive hosts, as well as restrictions on operations. Generally, the only operations allowed are logging in to the site using FTP, listing the contents of a limited set of directories, and retrieving files.
Make note of the following: • The /E (Expand) or any directory on a remote system is not supported for access by the anonymous user. • The /G (Guardian initial directory) is considered invalid for the anonymous user. • The FTP command, quote Guardian/OSS, is disabled for the anonymous user. The anonymous user can logon to the Guardian environment using the NULL.FTP user ID. For this to occur, the user ID must be thawed through Safeguard.
NOTE: If Safeguard is brought down for any reason, although the frozen users remain frozen, they behave as if they were unfrozen (or thawed) thus losing the added security provided. To enable the Guardian anonymous user support, the NULL.FTP user needs to be thawed. However, once this is done, the NULL.FTP logon with the password “guest” becomes accessible outside of FTP.
interpreted relative to the root of the subtree (that is, the INITIAL-DIRECTORY) rather than relative to the root directory of the root OSS fileset. • In regard to the usage of NFS mounted files, the system administrator should understand how the security on these files differs from the standard files. Anonymous FTP has no mechanism to differentiate these files from the standard files. Based on how NFS files are mounted and setup, the POSIX.
A Keyboard Mapping for TN6530 Introduction The TN6530 is a multiple-page terminal emulation utility that runs on a BSD-based UNIX system. The version of the utility described here runs on Sun Microsystems machines; however, the emulator is not limited to Sun machines. The TN6530 code is fully portable to any BSD-based UNIX system.
• Inserting/deleting single or multiple lines • Cursor control keys for easy cursor positioning • Erasing end of line and erasing end of page • Data organization and protection through: ◦ Protected and unprotected fields ◦ Fields containing only alphabetic, numeric, alphanumeric characters ◦ Fields containing only shifted characters ◦ Fields where auto-tab is disabled Unsupported Features • User-selectable cursor type (block or underline, blinking or non-blinking) • Control-character disp
Installing TN6530 on a Sun Workstationfor more information on this file). The key chart presented in Section 10 was compiled from Table 20 and Table 22. Table 20 Mapping Table—TN6530 Keyword-to-653X Function 158 TN6530 Keyboard 653X Keystrokes Functional Description f1 F1 Unshifted F1 . . . . . . f16 F16 Unshifted F16 shift_f1 SHIFT/F1 Shifted F1 . . . . . .
Table 20 Mapping Table—TN6530 Keyword-to-653X Function (continued) TN6530 Keyboard 653X Keystrokes Functional Description begin SHIFT/RETURN Cursor to beginning of line end CTRL/RETURN Cursor to end of data break BREAK Break character reset SHIFT/RESET Soft reset escape CTRL/] TELNET escape (*) Function of key sequence is application-dependent.
The mapping tables provided contain maps for all currently supported terminal types. Table 22 is the keyboard mapping table for a Sun Microsystems keyboard.
Table 22 Mapping Table—Sun Keyboard to TN6530 Keyword (continued) Emulator Keyword =Sun Scan Code; Sun Keystroke(s) left = '\E[D'; # R12 home = '\E[214z'; # R7 homedown = '\E[218z'; # R11 rollup = '\E[208z'; # R1 srollup = '\E[228z'; # F5 rolldown = '\E[211z'; # R4 srolldown = '\E[229z'; # F6 nextpage = '\E[222z'; # R15 snextpage = '\E[227z'; # F3 prevpage = '\E[216z'; # R9 sprevpage = '\E[226z'; # F4 insert = '\E[209z'; # R2 last = '\E[212z'; # R5 begin = '\E[210z
B Error Messages This appendix explains the cause and effect of messages produced by the TCP/IP application client programs and TN6530. The message descriptions include suggestions on how to recover from an error. The messages for each application are presented separately and arranged alphabetically. See the manual describing the mail service you are using for information about errors that appear when you are sending mail.
Cause You have specified a host name or address in the ECHO run command that is not known to the system, or the ECHO client cannot locate a HOSTS file on your system. Effect Your request for an ECHO connection terminates. Recovery Enter the ADD DEFINE =tcpip^host^FILE command with the appropriate file name before you enter the ECHO run command. If you do not know the Guardian name of the HOSTS file, ask your system manager where the file is located.
Effect The FINGER operation terminates. Recovery Make sure you have entered the correct host name. If the name is correct, ask the system manager or operator to check whether the host name is defined with its internet address in the HOSTS file on your system. socket: error-reason Cause FINGER could not create a socket for the reason indicated by error-reason. Effect The FINGER operation terminates. Recovery See “Recovering From Errors” (page 162).
Effect The command operation fails. Recovery Enter the command again and specify both file names. ftp: connect error-reason Cause FTP could not establish a connection for the reason indicated by error-reason. The network might be unreachable at this time, or the remote host might have rejected the connection. Effect The connection is not established. Recovery See “Recovering From Errors” (page 162).
Cause An error occurred when FTP tried to set the socket options. Effect The error is ignored and the operation continues. Recovery See “Recovering From Errors” (page 162). ftp: setsockopt SO_LINGER : error-reason Cause FTP could not set the socket option SO_LINGER. This option causes the system to wait for data transfer to complete before closing the connection. Effect Connections might be closed before data transfer completes. Recovery See “Recovering From Errors” (page 162).
Recovery Delete the old file and enter the command again to retrieve the new file. netin: error-reason Cause The specified error occurred while FTP was receiving data from the network. The socket might have shut down, the connection might have timed out, or the connection might have been reset at the remote host. Effect The command fails. The data you requested might be incomplete. Recovery See “Recovering From Errors” (page 162).
400 Command Invalid Cause The FTP Server does not recognize the command. Effect The FTP Sever does not execute the command. Recovery Determine whether the command you issued is valid. 401 Not connected to the server Cause The application is not connected to the server. Effect FTP does not execute the command. Recovery The application must connect to the server before issuing the command. 402 Command issued failed Cause The command failed. Effect The command is returned with error messages.
Recovery Determine whether the FTPGM points to a valid FTP object; that is, determine whether • The object is present at the given location, • The object has a proper file code (100) • The user under whose ID the process is running has execute permission for the object file Correct any error, and restart the application. 406 Fail to open communication with FTP client Cause The application program using the FTP API cannot communicate with the FTP Client Process.
Cause The file is not present in the specified location. Effect The command issued by the application fails. Recovery Reissue the command, specifying the proper location of the file. 413 Invalid Usage Cause The usage is wrong. Effect The command is not executed. Recovery Examine the usage in FTPexpth, correct the call, and restart the application. 414 Command invalid on proxy connection Cause The command is applicable only to direct connections. Effect The command fails to execute.
Cause One or more of the command parameters were invalid. Effect The command fails to execute. Recovery Specify valid parameter and restart the application. See Section 8, FTP API External Specification for valid parameters. 424 Unable to get startup message Cause The application program using the FTP API failed to get the startup message to send to the FTP Client Process. Effect The FTP session is not created.
Effect The mode is not switched. Recovery See “Recovering From Errors” (page 162). Can't turn off/on echo err error-number Cause An error occurred when TELNET tried to turn echo on or off. Effect Echoing remains in the same state as it was before you issued the command. Recovery See “Recovering From Errors” (page 162). Can't turn off/on spacing err error-number Cause An error occurred when TELNET tried to turn carriage return mode on or off. Effect The spacing is not changed.
Cause The service you selected is not available through the remote TELNET server. Effect You cannot use the service at this time. Recovery Tell the system manager of the remote system that the service has not been started. Try again after the service is started. setsockopt can't wait: error-reason Cause A communications problem has occurred. The TCP/IP process might not be running; for example, an operator might have stopped it. Effect TELNET terminates.
Effect The command is not executed. Recovery Try entering the command again. Make sure that you are following the required syntax. Telnet: tcp/telnet unknown service Cause The entry for TELNET is missing from the $SYSTEM.ZTCPIP.SERVICES file, so TELNET cannot determine which TCP port to use. Effect The command fails. Recovery Ask the system manager or operator to place an entry for TELNET in the SERVICES file. The entry should specify TCP port 23.
TFTP Error Messages This subsection describes the TFTP error messages. TFTP Client Error Messages These error messages appear on the client’s screen. ?Ambiguous command Cause The command you specified does not contain enough characters to identify it clearly. Effect The command is ignored. Recovery Enter the command again, but specify enough characters to identify it clearly.
Recovery Delete the existing file and enter the command again. file-name : TFTP error code code expansion-of-code Cause An error occurred during the file transfer operation. The possible errors are: 0 Not defined, see error message (if any). 1 File not found. 2 Access violation. 3 Disk full or allocation exceeded. 4 Illegal TFTP operation. 5 Unknown transfer ID. 6 File already exists. 7 No such user. Effect The transfer operation fails.
Recovery Enter the help command without any parameters, in order to display information about all TFTP commands. mode-specified unknown mode usage: mode [ascii netascii binary image octet] Cause The mode you specified is not valid. Effect The command is ignored. Recovery Enter the command again and specify ascii, netascii, binary, image or octet mode. No target machine specified.
Cause The get or put command you entered is not correct. (The host name does not appear if the connection has been established.) Effect The transfer operation fails. Recovery Make sure that you are using the correct command syntax and specifying valid host and file names. usage: [rexmt/timeout] value Cause You have not specified a value with a rexmt or timeout command. Effect The command is ignored. Recovery Enter the command again and specify a positive number.
The error-number field indicates the process-creation error returned by the PROCESS_CREATE_() procedure call. For more information, see the Guardian Procedure Calls Reference Manual. If error-number is 1, the error-detail field contains a file-system error number. For information about file-system errors, see the Guardian Procedure Errors and Messages Manual. Effect The TFTPSRV process cannot start the TFTPCHLD process. TFTPSRV sends a negative acknowledgment to the client. Child Process is Non-Existent...
Effect The TFTPSRV process terminates. Recovery Set the TACL PARAM TFTP^HOST^IP to a valid IP address before starting the TFTPSRV process. vol.subvol: Invalid Subvolume Name Cause The location specified is not valid. For example, the location name could have more than the permissible 36 character, or the location name might not be specified in the correct format. Effect Files cannot be uploaded to or downloaded from the specified location.
Recovery Start TFTPSRV with at least one valid subvolume. Unable to find the default TFTPCHLD object Cause The TFTPCHLD object is neither present in the subvolume from which the TFTPSRV process was started, nor is it present in the default location $SYSTEM.ZTCPIP. Effect The TFTPSRV process terminates. Recovery When you install TFTPSERV, make sure that the TFTPCHLD object is stored in $SYSTEM.ZTCPIP. Unable to find the default subvolume $DATA.PUBLIC Cause The validation of vol.
Recovery None. Writing Startup Message to Child Process Failed with Error: error number Cause TFTPSRV failed to write the startup message to the TFTPCHLD process. The error-number field indicates the file-system error. For details, see the Guardian Procedure Errors and Messages Manual. Effect TFTPSRV stops the TFTPCHLD process. TFTPSRV also sends a negative acknowledgment to the client. Recovery None. TN6530 Error Messages This subsection describes the TN6530 error messages.
Effect The command is ignored. Recovery Enter the command again, but specify a valid argument. You can specify autoflush, autosynch, crmod, debug, localchars, netdata, or options. Cannot create status window Cause TN6530 could not create a window. Effect TN6530 terminates. Recovery See “Recovering From Errors” (page 162). Cannot create window Cause TN6530 could not create a status line. Effect TN6530 terminates. Recovery See “Recovering From Errors” (page 162).
Recovery Edit the keyboard mapping file and correct the definition of the key-word specified in the message. key-word: is not allowed to be specified by a user Cause The key-word is reserved by TN6530. Effect TN6530 continues, but its keys are not mapped. Recovery Terminate TN6530 and edit the keyboard mapping file by changing key-word to a valid key word. key-word unknown 6530 key identifier Cause The specified key-word in the keyboard mapping file (/etc/map6530) is not a valid emulator keyword.
TERM environment variable (that defines the kind of terminal you are using) is not set. To set it, say 'setenv TERM type' Cause TN6530 cannot determine what type of terminal you are using. Effect TN6530 continues, but you cannot operate in block mode. Recovery Terminate TN6530 if you want to use block mode. Enter the UNIX command setenv TERM type. Set the type to the type of terminal you are using (for example, setenv TERM SUN).
C Installing TN6530 on a Sun Workstation This appendix provides instructions for installing the TN6530 program on your Sun workstation. To install TN6530, you transfer files from a NonStop system to your Sun workstation. Follow these steps: 1. Log in as the user named root. You must have system administrator privileges. 2. Run the FTP client on your system and establish a connection with a NonStop host system.
D TN6530 Control Codes and Escape Sequences This appendix summarizes the 653X terminal control codes and escape sequences that are supported by TN6530. “ TN6530 Control Codes and Escape Sequences” (page 187) lists the control and escape sequences that TN6530 does not support; Table 25 lists the control and escape sequences that are supported.
Table 25 Supported Control and Escape Sequences (continued) Control/EscapeSequence Function ESC 7 Set video prior condition register ESC : Select page* ESC ; Display page ESC < Read buffer* ESC = Read with address* ESC > Reset modified data tags* ESC ? Read terminal configuration ESC @ Delay one second ESC A Cursor up ESC C Cursor right ESC F Cursor home down ESC H Cursor home ESC I Clear memory to spaces ESC J Erase to end of page/memory ESC K Erase to end of line/field ESC
Table 25 Supported Control and Escape Sequences (continued) Control/EscapeSequence Function ESC i Back tab* ESC o Write to message field ESC p Set max page number* ESC q Reinitialize* ESC r Define data type table* ESC u Define RETURN key function** ESC v Set terminal configuration * Sequences used in block mode only ** Sequences used in conversational mode only 189
E Parameters for the FTP Server Process in the PORTCONF File You must start the LISTNER process on the system on which the FTP Server runs. The LISTNER process scans the entries in the port configuration (PORTCONF) file and invokes the FTP Server upon receiving a request from the FTP client. For a description of the PORTCONF file, see the TCP/IP Configuration and Management Manual.
Leaving out the GUARDIAN specification form the PORTCONF file disables the Guardian personality for users who do not use aliases. For alias users, the FTP Server will use the default personality according to the INITIAL DIRECTORY attribute specification. For example, if the INITIAL DIRECTORY specification is OSS, the default personality is OSS. If there is no INITIAL DIRECTORY specification, the FTP Server chooses Guardian as the default personality.
FTP allows users to specify their own primary, secondary, and maximum extent for each data transfer call they make. If the user specifies any of these values within the call, the FTP server will: • Use that value • Ignore the specifications for the other extent values in the PORTCONF file • Use the defaults for the values for primary extents and maxextents if you specify only secondary extents.
Index Symbols $ (dollar sign) command (FTP client), 90 in FTP client macros, 61 in FTP client mapping, 65 $DATA.
TFTP client, 120 Commands display when send (FTP client), 37, 52 FTP client, 38 FTP server, 92 help with FTP client, 60, 90 help with remote, 79 help with TELNET, 134, 137 help with TFTP, 122, 126 initialization (FTP client), 42 site-specific commands, 94 supported by FTP server, 92, 94 TELNET client, 130 TFTP client, 119 Compiling, use of wide pragmas option, 99 Confirmation to transfer file , 37, 67 connect command (TFTP), 121 Connection establishing FTP, 41, 66 establishing TELNET, 131, 134 testing with
Echo request, ICMP, 29 Editing, 149 Emulating 653X terminal, 141 EPRT command (FTP server), 92 ERR code (TFTP server), 127 Error messages, 162 FINGER, 163 FTP, 164 FTP, API, 167 FTP, client, 164 SMTP, 162 TELNET, 171 TFTP, 175 client, 175 server, 178 TN6530, 182 Escape character displaying TELNET, 136 TELNET client, 130 TN6530, 142 Escape sequences (TN6530), 187 exit command (FTP client), 53 Exiting see Stopping, 19 Extents, specifying with put, 68 with send, 80 with STOR, 92 F File code changing current d
H hash command (FTP client), 60 help command (FTP client), 60 HELP command (FTP server), 92 help command (TELNET), 134 help command (TFTP), 122 Help with remote commands, 79 Host address, 23 Hyphen, as local file name, 45 I ICMP echo request, 29 Image mode (TFTP), 123 IN run option, 28 Information see also Displaying about FTP client commands, 60, 90 about remote commands, 79 about remote files, 63 about TELNET commands, 134, 137 about TELNET session, 131 about TFTP commands, 122, 126 about TFTP settings,
NLST command (FTP server), 93 nmap command (FTP client), 65 Non-print format, 54 Nonprotect submode (TN6530), 148 NonStop Kernel name, 25 NonStop TCP/IP , 19 NonStop TCP/IPv6 , 19 NOOP command (FTP server), 93 sending from client, 74 ntrans command (FTP client), 66 O Octet mode (TFTP), 123 open command (FTP client), 66 open command (TELNET), 134 Options FTP, 37 TELNET server, 139 OSS anonymous FTP, 152 OSS anonymous user, 152 OUT run option, 34 Overview of applications, 20 P Packet displaying trace, 125 t
deleting, 80 displaying, 53 displaying name of current, 74 Remote files see Files, 19 Remote logon, 89 Remote servers, file transfer between, 67 Remote system addressing, 23 connecting to (FTP client), 66 disconnecting from (ECHO), 27 disconnecting from (FTP client), 53 disconnecting from (TELNET), 133, 135 displaying name of (TELNET), 136 specifying (TFTP), 120, 121 Remote user information, 33 Remote users, about all, 33 remotehelp command (FTP client), 79 rename command (FTP client), 79 Reply queue, clear
escape sequences, 187 TELNET server options, 139 Suspending TN6530, 142 Synchronizing command and reply, 80 T TACL PARAM, LISTNER^HOST^IP, 22 resuming session, 142 using through TN6530, 141 TCP port, 21, 130 TCP/IP process ($ZTC0), 25 TCP/IPv6, 24 TCPIP^HOST^FILE parameter, 25 TCPIP^PROCESS^NAME parameter, 25 TCPIP^RESOLVER^NAME parameter, 25 TELNET client, 130 command reference, 133 command summary, 130 displaying session information, 131 error messages, 171 escape character, 130 input mode, 130 prompt in
to file, 34 User name, 26 mail, 151 UUCP mail, 151 V verbose command (FTP client), 89 command (TFTP), 126 Verbose (FTP client -v option), 37 Video attributes (TN6530), 146 Virtual terminal, using, 130 Volume name, 26 W Well-known port FTP client, 66 TELNET, 134 TFTP, 120 TN6530, 141 Wide pragmas C and C++ compiler option, 99 Wild-card characters (FTP client), 59 Wild-card names enabling, 38 example, 45 FTP server processing, 92 using in FTP, 59 Working directory changing current, 51 changing to parent, 51