When you add a FileInput node to a message flow, configure it to process messages that are read from files.
On Windows, if you are specifying a shared directory that is mapped to your local computer, specify the share name instead of the letter that represents the drive; for example \\myshare\mydirectory.
The FileInput node creates an mqsitransitin subdirectory in the specified input directory to hold and lock input files while they are being processed. If an integration server that processes files in this input directory is removed, check the mqsitransitin subdirectory for partially processed or unprocessed files. Move any such files back into the input directory (and remove the integration server UUID prefix from the file names) so that they can be processed by a different integration server. For more information about the mqsitransitin subdirectory, see How multiple file nodes share access to files in the same directory.
If you select both the Include local subdirectories and Remote Transfer properties, only the subdirectories on the local system are searched for files to process. Whereas on the remote system, only the top-level directory that you have specified is searched for files to process.
Wildcard character | Description | Example |
---|---|---|
* | Any sequence of zero or more characters | *.xml matches all file names with an xml extension |
? | Any single character | f??????.csv matches all file names consisting of the letter f followed by six characters and then the sequence .csv. |
After the initial scan of the directory when the flow is started, whenever the directory is found to contain no files that match the input pattern, the FileInput node waits for the period defined by this property. This process avoids the need for the FileInput node to be continually accessing the file system, and consuming large amounts of system resource.
The smaller the value set in this property, the more quickly the FileInput node discovers files that are in the input directory. However, a smaller value increases the use of system resources. A larger value reduces the use of system resource but at the cost of the FileInput node discovering files to process less quickly.
Do not use this property as a means to regulate work, or to schedule processing. If you want the FileInput node to monitor the input directory for selected periods only, start and stop the message flow at appropriate times.
If you select the Remote Transfer property and set the Scan delay property on the FTP tab, the value that you set for Scan delay overrides the value set for Polling interval.
If you select both the Remote Transfer and Include local subdirectories properties, only the subdirectories on the local system are searched for files to process. Whereas on the remote system, only the top-level directory that you have specified is searched for files to process.
This property is valid only when FTP is selected as the protocol for remote transfer. If you have specified SFTP as the protocol, the Transfer mode mode property is ignored and binary encoding is used.