Sun Secure File Transport User Guide

How-To Edit the Configuration File

The /etc/opt/SUNWsftransport/sftransport.xml configuration file is installed when the Sun SFT package is installed. This file configures the main daemon parameters as well as all processing slot definitions. (A slot is a virtual holding place for files within a transfer directory.) You can edit this file directly to change the Sun SFT configuration. After making changes to the configuration file, you must restart the daemon for configuration changes to take effect.


Note –

See the sftransport(4) man pages for specific details.


The following is an example of the sftransport.xml file:


<sftransport>
 <config version="2">
   <sleepSeconds>3600</sleepSeconds>
   <transferTries>3</transferTries>
   <secondsBetweenTries>120</secondsBetweenTries>
   <transferPath>/var/opt/SUNWsftransport/transfer</transferPath>
   <failedPath>/var/opt/SUNWsftransport/failed</failedPath>
   <diskThreshold>90</diskThreshold>
   <geo>AMER</geo>
 </config> 
 <slots>
   <slot type="explorer" threads="5" archivePath="/mnt/explorer_archive">
     <url>/v1/queue/explorer</url>
   </slot>
   <slot type="casedata" threads="1" archivePath="">
     <url>/v1/queue/case-data<url>
   </slot>
 </slots>
 </sftransport>