JobMode 1 – smbclient

Parameter

Value

File Number

1 - <MaximumFilesSpool>

Source File

<TransShare>[/<TransWorkDir>]/*.< IndexFileExtension>

<TransShare>[/<TransWorkDir>]/*.< DataFileExtension>

Output

<DataInputPath>/*.*

Configuration Parameters

<DataFileExtension>

<DataInputPath>

<IndexFileExtension>

<MaximumFilesSpool>

<TransAcceptLogFile >

<TransBinary>

<TransCreateReadyFile>

<TransFileNameMask>

<TransShare>

<TransTimeStampCheckDir>

<TransUserName>

<TransUserPass>

<TransWorkDir>

<TransWorkgroup>

Table 182: Transfer: JobMode 1 – smbclient

This JobMode connects to a file share with the tool “smbclient” to fetch files matching the pattern specified by <TransFileNameMask>. In case of a successful transfer these files are put into the directory <DataInputPath> and deleted from the file share, so they can next be used by the Initialize step.

In general, pairs of files are transferred (*.<IndexFileExtension> + *.<DataFileExtension>). To be able to determine a correct age of the files (for further synchronization purposes), a directory is created on the file share and only such files are transferred, which are older than this directory. Therefore, it can happen that the script works correctly only in the second call (if this directory already exists).

The maximum number of files to transfer can be limited by <MaximumFilesSpool>.

Entries for all transferred files are logged in the file specified by <TransAcceptLogFile>, if this parameter is set.