File

File Connector Service Description

File connector allows reading the files called addresses and file names on the computer or system, along with the working rates recorded with the cron value. A single operation can be performed on the read files. After examining the files, the Processing Mode feature in MIP allows the files to be deleted after reading, archived, or read and recorded only for testing purposes.

File Sender

  • File Directory: This is the field that indicates the directory or folder where the file or files to be read are located. It refers to the location of the file and defines the path within the file system.
  • File Name: This is the field where the names of the file or files to be read are written. For example, searches and filters such as “mip.text”, “mip.json” or, if multiple files need to be selected, “*.txt”, “mip.*” can also be made.
  • Subdirectory Select: If there is a subfolder in the file to be read, the name of this subfolder can be given so that the files in it can also be processed. It is not mandatory to fill in this field.
  • Processing Sequence: Determines the order in which the read files will be processed. The processing order can be established based on Modified Date or File Name, and it can be set in alphabetical or reverse alphabetical order.
  • Processing Mode: Specifies what will happen after the files are read. There are three options
    • Test: Indicates that the files are read for testing purposes, and no further action is taken after reading.
    • Delete: Enables the deletion of files once the reading and subsequent processing are complete.
    • Archive: Facilitates moving and archiving files to the address entered in the “Archive Directory” after reading. Files are not deleted; their locations are simply changed.
  • Advanced – Skip Empty File: This variable determines whether empty files will be read during the file reading process. If the option is selected, empty files are skipped without being read. If not selected, all files at the specified address and with the specified names are read and processed.
  • Advanced – Duplicate Check: This variable determines whether the same file can be read more than once during the file reading process. If the option is selected, the same file will not be read again. If not selected, the same file can be read and processed multiple times.
  • Advanced – Max File Size: This variable allows checking the sizes of files during the file reading process. If a file is smaller than the value entered in KB, the reading process occurs. If it is larger, the file is skipped and not processed.
  • Advanced – Additional Parameters: This variable allows the addition of a parameter other than the specified filters and parameters.
  • Scheduler – Cron: This variable allows determining the working interval and frequency of the defined File (Sender) service in Cron format. Cron is used to schedule tasks to run at specific intervals or on specific dates and times.

File Receiver

File Receiver
  • File Path: This field specifies the directory or folder where the created file will be located. It represents the location of the file and defines the path within the file system.
  • File Name: This field is where the desired file name to be created is written.
  • Add Timestamp: This variable appends a Timestamp to the file name when writing the file. For example, it saves a file named “mipFile” as “mipFile_20231129134819022”.
  • Add Message ID: This variable appends a MessageID variable to the file name when writing the file. For example, it saves a file named “mipFile” as “mipFile_’specifiedMessageId'”.
  • File Encoding: “File encoding” specifies how characters and text data in a text file are represented in a computer-understandable format.
  • Temp Enable:  It first defines the file to be written in a different location, and after the definition and file writing process is completed, it moves the file to its original location. This process prevents the file from being read by another service before the writing process is completed.

Get in touch with us to kickstart your integration journey.

Request a Demo See All Prebuilt Integrations