TSP Lab GyTP − SgaCopy Server GyTP_Server

GyTP − SgaCopy Server
("GyTP_Server")

Table of Contents

Features

User interface

The main menu

Menu Menuitem Shortcut(s) Meaning
[Log]
  Find line containing... (Ctrl-F) Finds text in log window
  Find next matching line (F3) Finds next occurrence of text in log window
  Details   Detail level of logging (Off, Normal, Detailed, or Debug)
[GyTP]
  Accept client connection requests (Ctrl-A or ) Enables connection from clients
  Disconnect all clients now   Closes connections properly
  Re-enter encryption password   The password used during the encryption can be re-entered
[Options]
  Auto scroll ( ) Allows automatic scrolling of the log screen
  Flush statistics counters   The statistics counters can be flushed
  Zero statistics counters   The statistics counters can be cleared
  Save settings   Saves current settings into the configuration (INI) file

The bottom status-line

Logging

The module creates daily logfiles about its operation. The name of the logfile is "modulename_YYYYMMDD.log", reflecting the day when it is created.
The module can write information into the logfile and onto the screen at various detail levels, set by the [Log]/Details menu item. The logging level can be: Status line counters are logged in every fifteen minutes irrespectively of logging level actually set.

The color coding of the log lines have the following meaning:

Code Color Usage
0 Black Compact data record
1 Red Errors
2 Green Open/close output file/stream
3 Blue Open/close input file/stream
4 Yellow Warnings
5 Light Grey Detailed data (debug info)
6 Dark Grey Detailed data (user info)
7 Purple Operator intervention;
Errors with emphasis

Configuration (GyTP_Server.ini) file settings

Section Entry Example Meaning
[Position]
  iLeft 4 Position of the program module on the display screen
  iTop 4 Position of the program module on the display screen
  iWidth 1032 Position of the program module on the display screen
  iHeight 776 Position of the program module on the display screen
[Options]
  bAutoScroll True Scrolls automatically the log window
[GyTP]
  bAcceptConnectionRequest True Enables connections from clients
  wLocalTCPPort 6000 TCP port of the server
  sUploadRootPath d:\GyTP Root path of the uploaded files
  bFailIfDestinationFileExists True Checks if output files exist
  bEncryptionAllowed True Allows encryption
  bEncryptionMandatory True Encryption is mandatory
[Check Saturation]
  dwDelayIfSaturatedMS 1500 Optional delay of DelayIfSaturatedMS if current count exceeds the configured threshold.
  Sga-8001 25 Checking the number of Sga-8001 files in the target folder, with an error report and an optional delay of DelayIfSaturatedMS if current count exceeds the configured threshold.
  Sga-9001 15 Checking the number of Sga-9001 files in the target folder, with an error report and an optional delay of DelayIfSaturatedMS if current count exceeds the configured threshold.
  * 99 Checking the number of any files in the target folder, with an error report and an optional delay of DelayIfSaturatedMS if current count exceeds the configured threshold.
[Allowed IP Addresses]
  192.168.0.1 SgaMon IP address and subfolder of an allowed client. The target folder for files from 192.168.0.1 is d:\GyTP\SgaMon
  192.168.0.2 * The target folder for files from 192.168.0.2 is d:\GyTP\192.168.0.2
  192.168.0.3 \ The target folder for files from 192.168.0.3 is d:\GyTP\
[Advanced]
  wLogDetailLevel 3 Detail level of logging (Off, Normal, Detailed, or Debug)
  dwMaxLinesInLogWindow 1000 Number of lines in the log window on screen
  sLogFilesPath c:\LogFiles Path for the log files
  bDebugOmitWrite False Writes the received files to null device (e.g. for testing purposes)

Version history of GyTP_Server