# This file configures transfers between a local system and a directory
# on a remote system using the SFTP protocol.  This assumes that the
# remote system has been setup so that a password isn't required to
# connect to it based on standard SSH methods.

# Label for log file and for stop file.
cyflex.extdatman.instance_label rapid_transfers

# Interval in seconds between checks for files showing up to be
# transferred.
cyflex.extdatman.interval 20

# Interval in seconds before reattempting a failed communication
# connection.
cyflex.extdatman.retryInterval 60

# Name of programming class which performs the transfer.
cyflex.extdatman.dataType com.cybermetrix.cyflex.extdatman.SftpTransferDataType

# Location of extdatman directory structure on the local system with
# files to be transferred to the remote system.
cyflex.extdatman.sourceDirectories /data/transfer/rapid

# Unused but required
cyflex.extdatman.siteType other

# If files to be transferred have a known last line, specify that here.
# This allows the code to check that a complete file will be transferred
# rather than a partial file in the process of being created. For
# binary files or files where this isn't an issue, this is still
# required but no value should be specified.
cyflex.extdatman.terminatorLine 

# Create this file to gracefully terminate the transfer program.
# See also stop_rapid_transfers.  It should be updated with this value
# also.
cyflex.extdatman.stopFile /tmp/stop_rapid_xfr

# Directory on the remote system to transfer files to. The present
# implementation requires that this be a Linux system.
cyflex.extdatman.targetDirectory /data/darts_rapid/ready

# Set to 'true' if the remote directory is an external data manager
# structure and the local test cell name containing the transfer file
# should be added to the remote system directory name. Set to 'false' or
# omit if the remote directory is exactly where files should be
# transferred. See the documentation for more details.
cyflex.extdatman.remoteIsExtDatMan true

# SSH Identity file to avoid having to maintain a password for
# connecting to the remote system. The code understands the convention
# that '~' refers to the home directory of the login running the
# application.  If this isn't appropriate then a full path name would
# be needed.
cyflex.extdatman.identityFile ~/.ssh/id_rsa

# User name on the remote system to connect to.
cyflex.extdatman.username tcp

# Name of the remote system where files are to be transferred.
####cyflex.extdatman.sftpServer ctclfnode9dev.ctgeng.engmfg.cummins.com
 cyflex.extdatman.sftpServer ctclfnode9.ctgeng.engmfg.cummins.com
