Skip to main content

File Sender Connector

The File Sender connector runs according to a specific schedule (a cron job). Depending on this schedule, it receives files from the specified address or directory and sends them to the specified destinations. In summary, it retrieves files from the specified source at a specified time and forwards them to the specified destinations.

Required Connector Properties

  • 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 field allows users to specify the filenames they want to read. For example, searches and filters such as “mip.text”, “mip.json” can be made for a single file, or “.txt”, “mip.” if more than one file is to be read.

  • 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 - File Encoding: It refers to the method used to represent characters and encode textual information in a file. It determines how characters are mapped to binary data so that computers can interpret and display text correctly.

  • 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.