The text of a manual · part 18 of 27
PollCat NetLink-VIP & NLJ-VIP Pollable Call Accounting Terminals User's Guide, pages 171 to 180
Pages 171 to 180 of 266
The original document is the PDF (1.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the WTI Pollcat NetLink VIP 7173
Page 171
Buffer Functions (Polling)
16.4.2. FTP Push Start Time The "Start Time" parameter in the FTP Push Configuration menu allows you to specify an exact start time for an FTP Push operation. The Start Time is indicated using 24 hour (military clock) format. Note that the FTP Push operation specified by the FTP Push Start Time will be performed in addition to any Periodic Push actions that are defined, and that after the FTP Push Start Time elapses, additional Periodic Pushes will be scheduled relative to this user defined Start Time. For example, assume that the periodic push value is 120 minutes (two hours.) Normally, the VIP might perform a periodic push at 1:30, 3:30, 5:30 and etc. However, if the FTP Push Start Time is then set at 4:00, the VIP will perform the 1:30 and 3:30 periodic pushes according to the previous schedule, but will then perform an additional FTP push at 4:00 (as specified by the FTP Push Start Time), the timer will then be reset, and the next periodic push will not occur until 6:00 (two hours after the start time,) and additional periodic pushes would be scheduled for two hour intervals after the FTP Push Start Time. Providing that all FTP Server parameters are defined, and the real-time clock has been accurately set, the FTP Push Start Time will cause the unit to perform one FTP Push at the specified start time, and then reset the timer for Periodic Push operations. Once the FTP Push Start Time is selected, it will be applied once during the next 24 hour period, and that Start Time will effectively be established as the new "zero hour" for timing future periodic push operations. Note: Although the FTP Push Start Time will normally only be observed once during the 24 hour period after it is first set, the FTP Push Start Time will also apply when any of the following events occur: • When the FTP Push Start Time is defined or changed. • When the "Push Action" parameter (FTP Push Configuration Menu, Item 12) is enabled or re-enabled. • When the value for the "Periodic Push" parameter (FTP Push Configuration Menu, Item 13) is changed. • When saved parameters are uploaded to the VIP unit as described in Section 15.2. • When the VIP unit is powered Off, and then powered On again.
16-21
Page 172
PollCat NetLink-VIP & PollCat NLJ-VIP - User’s Guide FTP SERVER CONFIGURATION: FTP SERVER PARAMETERS 1. UserName: MARIO 2. Password: ZEBRA 3. Filename: TST 4. Auto Delete: Off 5. Audit Trail: On MISCELLANEOUS 11. Stop FTP Session Enter selection, Press <ESC> to return to previous menu ...
Figure 16.7: FTP Server Configuration Menu (Defaults Shown)
16.5. The FTP Server Feature The FTP Server feature enables the VIP unit to function like a standard FTP server. You can connect to the VIP using the FTP client program of your choice, and then select and retrieve files. In order to use this feature, your installation must include the following components: • A network connection to the VIP unit. Note that the network must be running TCP/IP in order to use the VIP's FTP server function. • An FTP client (e.g. DOS FTP, WS FTP, etc.) installed on the remote PC which will drive the data release. 16.5.1. Configuring the FTP Server Feature To configure the FTP Server function, access command mode as described in Section 19.1. From the Main Menu, type 28 and press [Enter] to display the FTP Server Configuration menu (Figure 16.7.) This menu is used to define parameters that will be employed when a user attempts to create an FTP connection with the VIP unit. To define FTP Server Parameters, key in the number for the desired item, press [Enter], then follow the instructions in the submenus. The FTP Server Configuration menu includes the following items: FTP Server Parameters: 1. User Name: The name that a remote user will enter at their FTP program's connect menu or prompt in order to create an FTP connection to the VIP unit. (Up to 16 Characters; Default = Undefined.) 2.
16-22
Password: The password that a remote user will enter at their FTP program's connect menu or prompt in order to create an FTP connection to the VIP unit. (Up to 16 Characters; Default = Undefined.)
Page 173
Buffer Functions (Polling)
3.
Filename: The first four characters of the filename that the FTP Server function will assign to each category of data stored in buffer memory. The complete filename will consist of these four characters, one character which indicates the source port, and two characters which indicate the data type. For more information, see Section 16.5.3. (Up to four characters; Default = Undefined.) Note: If you are using the FTP Server function to retrieve data from several different VIP units, a unique file name should be assigned to each unit. This will prevent the data from one unit from overwriting data from another unit.
4.
Auto Delete: Enables / Disables the Auto Delete function for FTP Server operations. When enabled, the VIP will delete records from buffer memory after your FTP client acknowledges reception. (Default = Off.) Notes: • When Auto Delete is enabled, the VIP will only delete records after your FTP client acknowledges reception. If the data transfer is aborted or interrupted, the Auto Delete Function will not delete records from memory. • When Auto Delete is enabled, the unit will not display a prompt before deleting records from buffer memory.
5.
Audit Trail: Enables / Disables the Audit Trail for FTP Server operations. When enabled, the VIP will create a log which lists all FTP connections, including the duration of the connection, password entered, and status at disconnection. (Default = Off.)
Miscellaneous: 11. Stop FTP Session: Aborts any FTP session currently in progress.
16-23
Page 174
PollCat NetLink-VIP & PollCat NLJ-VIP - User’s Guide
16.5.2. Retrieving Data Using FTP Server Since the FTP Server feature will function with a variety of different FTP clients (e.g. DOS FTP, WS FTP, etc.), the exact procedure will differ slightly depending on the client used. Although this section describes the general concept for transferring data using the DOS FTP client, note that the general concept can also be applied to other FTP clients. Note: When the FTP Server feature retrieves data, records cannot be selected according to the alarm clue matched. 1.
From the DOS prompt at your remote PC, type FTP ipaddress and press [Enter] (where ipaddress is the IP address assigned to the VIP unit.) Note that the VIP's IP address is set using the Network Parameters menu as described in Section 5.4.5.
2.
The FTP Server (the VIP) will acknowledge that a connection has been made, and that the VIP FTP server is ready. The FTP client will then prompt you to enter your username. Key in your username and then press [Enter]. Note that the username is defined using the FTP Server Configuration menu as described in Section 16.5.1.
3.
If the valid username is entered, the FTP Server will return a message which indicates that the username was accepted. The DOS FTP client will then prompt you to enter your password. Key in your password and press [Enter]. Note that the password is defined using the FTP Server Configuration menu as described in Section 16.5.1.
4.
If the valid password is entered, the FTP Server will return a message which indicates that the login was accepted, and the FTP client will display the "FTP>" prompt. Note: The VIP will allow three attempts to enter a correct user name or password.
5.
16-24
At the "FTP>" prompt, type dir and press [Enter]. The FTP Server (the VIP) will return a directory listing which indicates the names and status of the various files which contain the buffered call data. a)
Each file will contain a specific type of data, received from a specific VIP input port (e.g., PBX Port A.) The name of each file indicates the Data Type and Source Port for all records contained in the file. For more information on file names for the FTP Server function, please refer to Section 16.5.3.
b)
The directory listing will also indicate the number of records in each file, and the "Free" status of each file. Any file which is currently partitioned to another user will be listed as "Locked."
Page 175
Buffer Functions (Polling)
6.
Refer to the displayed file names, and select the file which contains the data that you need to retrieve. At the "FTP>" prompt, type get filename and press [Enter] (where filename is the name of the file which contains the data that you need.)
7.
The FTP Server (the VIP) will return a series of response messages, and the selected file will be transferred to the current directory on your remote PC. To retrieve additional files, repeat step 6 above.
8.
When you have finished retrieving files, type bye and press [Enter]. The FTP connection will be terminated.
16-25
Page 176
PollCat NetLink-VIP & PollCat NLJ-VIP - User’s Guide c:\data\ ftp 192.168.168.168 Connected to 192.168.168.168. 220 NetLink FTP server ready. User (192.168.100.236: (none)): WTI 331 User name okay, need password Password: 230 Login accepted. ftp> dir 200 PORT command successful. 150 Opening data connection. File Records Status testAST 1172 Locked testAA1 990 Locked testAA2 0 Free testBST 1133 Locked testBA1 706 Locked testBA2 0 Free testXST 1432 Free testXA1 0 Free testXA2 970 Free 226 Transfer complete. ftp: 350 bytes received in 0.16 Seconds 2.19 Kbytes/sec. ftp> get testXST 200 PORT command successful. 150 Opening data connection. 226 Transfer complete. ftp: 107400 bytes received in 29.33 Seconds 3.66 Kbytes/sec. ftp> bye 221 Goodbye c:\data\
Figure 16.8: FTP Server Example
FTP Server Example: Figure 16.7 shows the commands and responses that might result when a DOS FTP client connects to the VIP FTP Server, and retrieves a file named "testXST". In Figure 16.8, note that all commands entered by the user are shown in bold text. 1.
In the first line of Figure 16.8, the user invokes the FTP command at the DOS prompt, specifying the IP address for the VIP unit. Two response messages are then displayed to acknowledge the connection, and indicate that the server is ready.
2.
The DOS FTP client then prompts for a username. The user keys in the username "WTI" and presses [Enter]. The FTP server responds with a message that verifies that the username was valid.
3.
Next, the FTP client prompts the user to enter the password. The user keys in the password and then presses [Enter]. The FTP server then verifies that the Login was accepted. Note that the password is not echoed back to the FTP client, and is therefore not shown in this example.
16-26
Page 177
Buffer Functions (Polling)
4.
When the FTP client displays the "ftp>" prompt, the user keys in the dir command and presses [Enter] to display the names of the files available for retrieval. The dir command also displays the number of records in each file, and the Locked/Free status of each file. Files that are listed as "Locked" are currently partitioned by another user.
5.
In this example, the user wishes to retrieve the file that contains standard, non-alarm (ST) records that were received via the Auxiliary Port (X.) Therefore, the name of the file that must be retrieved is "testXST". For more information on file naming conventions for the FTP server function, please refer to Section 16.5.3. The user then checks the dir listing, locates the desired file, and checks to make certain that it is free.
6.
At the "ftp>" prompt, the user keys in the "get testXST" command to retrieve the desired file. Several response messages are displayed to indicate that the PORT command was successful, the data connection was opened, and that the transfer is complete. The FTP speed statistics are then listed. At this point, the file "testXST" has been downloaded to the resident directory on the user's PC.
7.
The FTP client displays the "ftp>" prompt again, and the user types "bye" and presses [Enter] to terminate the FTP session. This command is followed by a response message which indicates that the connection was successfully terminated.
16-27
Page 178
PollCat NetLink-VIP & PollCat NLJ-VIP - User’s Guide
Figure 16.9: FTP Server File Names
16.5.3. File Names for the FTP Server Function When your FTP program connects to the VIP unit, it will display a series of file names. Each file name denotes the type of data stored in the corresponding file. The file names generated by the FTP server function are based on the user-selected basic file name, the source port that collected the data, and the data type. As shown in the example in Figure 16.9, the file name will consist of the following components. Note: This file naming convention applies only to the FTP Server function. A different convention is used when data is transferred using FTP Push. For more information, please refer to Section 16.4.1.
File Name (Up to Four Characters): The base file name that is defined via item number 3 in the FTP Server Configuration menu. If the file name is not defined, the VIP will use the first three characters of the Site ID message. If the Site ID message has not been defined, the VIP will use the letters "PNL". Note that if the defined file name is less than four characters long, then the VIP will not use the remaining characters in this field.
Source Port (One Character): The VIP will enter one character to indicate the port which originally received this data; the letter "A" indicates PBX Port A, "B" indicates PBX Port B, "X" indicates the AUX Port, and "I" indicates the PBX IP Port. Note that files created by the FTP Server Function will only contain data from one input port.
Data Type (Two Characters): The VIP will list one of three different data types: ST indicates that the file contains Standard (Non-Alarm) data, A1 indicates that the file contains records that matched Alarm Filter 1, and A2 indicates that the file contains records that matched Alarm Filter 2.
16-28
Page 179
Buffer Functions (Polling)
Examples: • If the base file name is defined as "TEST", and the File contains standard, non-alarm data (ST) received via the AUX port (X), the file name would be "TESTXST". • If the base file name is "PBX", and the file contains records that matched Alarm Filter 2 (A2), which were received via PBX Port B (B), then the file name would be "PBXBA2". • If the base file name is not defined, but the site ID is "ACME", and the file contains records that matched Alarm Filter 1 (A1), which were received via PBX Port A (A), then the file name would be "ACMAA1". 16.5.4. Commands Supported by FTP Server The FTP Server function supports the following FTP commands. • ABOR - Aborts the current FTP operation.
• DELE filename - Deletes the specified filename from the FTP Server, where filename is the file you intend to delete. The DELE command can only be applied to the last file read. Note: If a file transfer is aborted before completion, the DELE command will still delete the target file, even though the file has not yet been transferred to your remote PC. • HELP cmdname - Displays help information for the specified command (where cmdname is the target command.) If cmdname is omitted, then the HELP command will display a summary of all available FTP commands. • LIST (Also DIR or LS) - Displays a listing of all files residing in the current directory at the FTP server. • NOOP - (No Operation) Keeps the FTP connection alive without actually initiating a command function. • PASS password - The FTP client uses this command to submit the user-entered password to the FTP Server (the VIP.) • PORT h1,h2,h3,h4,p1,p2 - Sends the client's IP address and port number to the FTP Server, where h1,h2,h3,h4 is the IP address and p1,p2 is the port number. • PWD - Displays the current active directory at the FTP Server. • QUIT - Terminates the FTP connection.
• RETR filename - Retrieves the specified file from the FTP Server, where filename is the desired file. 16-29
Page 180
PollCat NetLink-VIP & PollCat NLJ-VIP - User’s Guide
• SYST - Displays the type of Operating System that is used by the FTP Server (e.g. Unix.) • TYPE [A|I] - Specifies the type of file that is being transferred as either A (ASCII) or I (Image/Binary.)
• USER username - The FTP client uses this command to submit the entered username to the FTP Server. • XPWD - Displays the currently active directory at the FTP Server. 16.5.5. Response Messages Generated by the FTP Server Function The FTP Server function will send the following messages in response to commands issued by the FTP client: Positive Preliminary Reply 150 Opening data connection. Positive Completion Reply 200 Type set to A. 200 Type set to I. 200 PORT command successful. 200 NOOP command successful. 214 Syntax: ABOR (abort operation) 214 Syntax: DELE <sp> filename 214 Syntax: HELP [<sp> <string>] 214 Syntax: LIST (return file list) 214 Syntax: NOOP (no operation) 214 Syntax: PASS <sp> password 214 Syntax: PORT <sp> h1, h2, h3, h4, p1, p2 214 Syntax: PWD (return current directory) 214 Syntax: QUIT (terminate service) 214 Syntax: RETR <sp> filename 214 Syntax: SYST (get type of OS) 214 Syntax: TYPE <sp> [A | I] 214 Syntax: USER <sp> username 214 Syntax: XPWD (return current directory) 214 The following commands are currently supported: ABOR DELE HELP LIST NOOP PASS PORT PWD QUIT RETR SYST TYPE USER XPWD 214 Direct comments to root. 215 UNIX Type: WTI Server: "NetLink" OS: "WTIOS" 220 NetLink FTP server ready. 221 Goodbye. 226 Transfer complete. 226 Abort successful. 230 Login accepted. 250 DELE command successful. 257 "/" is current directory.
16-30