SEARCH 

G1000 FTP Support

Overview

The Gateway 1000 (G1000) FTP program (G1000-FTP) provides conversion between serial connections and FTP. This program is designed to interface serial data into FTP applications on IP-Based systems. Several selectable modes are available to convert data between FTP protocol and serial protocols using the supplied FTP Client and Server support. The specific processing logic is dependent on the mode and processing rules selected through the Configuration Program.

The G1000-FTP Program can operate in any of the following modes:

    Store With this mode, the G1000 will spool the message from one of the serial ports until the entire message has been received (as indicated by protocol-specific definitions). The spooled message is stored on the G1000's hard disk for retrieval by a remote FTP Client.
    Push This mode is an enhancement to the Store mode. Once the message has been spooled on the G1000's hard disk, a PERL script will start an FTP Client and push the file to a remote FTP Server.
    Accept With this mode, the G1000 accepts messages from a remote FTP Client for transfer to the serial network. The inbound FTP messages are spooled to the hard drive and then transferred to the serial port for delivery to the remote device.
    Poll This mode is an enhancement to the Pull mode. The G1000's FTP client will periodically query a remote FTP Server to determine if there are any files that should be transferred to the serial network. If files are present on the FTP Server, they will be downloaded and then transferred to the remote network.
    Custom With this mode, JBM Electronics can modify the FTP processing logic on the G1000 to match specific customer requirements. Examples of custom changes include:
      - Interpretation of serial data (JCL) for file name
      - Header or JCL selected file size
      - Header or JCL selected destination directory
      - Header or JCL selected translation tables
      - Selectable file retention rules

Processing Logic

The following are examples of how the G1000's FTP Program operates:

Inbound Message (Push Option)
    a.   The G1000 will receive the serial data and validate the block check character.
    b. The inbound bisync message will be written to the G1000 hard disk using a unique file name.
    c. When the message termination character (for example: ETX for bisync) is received, the file will be closed.
    d. A PERL script will open the file and start the FTP Client.
    e. The script will perform the following:
    • Calculate file length
    • Connect to remote FTP Server
    • Initiate a file transfer using directory name and file name as defined by the configuration (if specified) or to the default directory and the unique file name that was used during local storage (Step b).
    • Transfer the file
    • Delete the file from local G1000 drive unless otherwise specified in the configuration.
    f. Log the results of the transfer operation.

Outbound FTP Message (Store Option)

    a.   The G1000's FTP Server will accept messages from a remote FTP Client.
    b. The incomming file will be written to the G1000's hard disk.
    c. A PERL script will extract each file from G1000's hard disk and transfer the complete file to the serial port.
    d. The serial port will deliver the messages to the remote device.
    e. The serial port will pass a return code to the PERL script that will then delete the file from the G1000's FTP Server.
    f. Log the results of the transfer operation.

Storage Requirements

The G1000's FTP Program allocates 10 GB for use with inbound and outbound files. The space is allocated through a configuration option. The actual storage requirements are dependent on the volume of data, access to the remote FTP connection and the configuration options affecting the file retention rules.

A second, optional 30 GB hard drive can be ordered for expansion. The drive can be added to any G1000 model.

Prices and specifications are subject to change without notice.