Filters

  • 03 Oct

    Question about a Limagito rule and file date filtering

    File date filtering

    Q: We are currently thinking about creating a new Limagito rule to process files, and I would like to get your advice on the best way to implement it.

    Here is the context:

    • Every day, a large number of XML files are dropped into three different folders.
    • For each folder, we would like to identify the files that were created between yesterday at 3:00 AM and today at 2:59 AM.
    • The files identified in each folder will then be zipped and uploaded via SFTP.

    We initially thought about using the DateFiler function with the “Older than” and “Younger than” conditions. However, we realized that if a user manually triggers the rule, the time window will no longer be correct.

    Is there a way to define the time window as “yesterday at 3:00 AM to today at 2:59 AM”, regardless of when the rule is actually executed?

    A: We added a new ‘File Date Relative – Time Absolute Filter’ in version v2026.10.3.0

    In your case you’ll need both include and exclude file date filter:

    limagito filemover file date filtering

    limagito filemover file date filtering

    If you need any help about this new ‘file date filtering’ option, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement #limagito

  • 26 Jul

    Why Change Notify Isn’t Picking Up All Files

    Q: Change Notify Isn’t Picking Up all files. When using Change Notify we are running into an issue where 1 file is not being moved until other files are added.  Here is example:
    1.  10 files are added to a folder within 1 second
    2.  9 files are moved to the correct destination but 1 file doesn’t move
    3.  20 minutes pass and the same file still remain in the folder
    4.  21 minutes pass we get 10 more files placed in the folder
    5.  The 1 file that didn’t move prior will now move to correct folder along with 9 of the 10 new files added, leaving 1 file again
    Pattern repeats like this always leaving 1 file in the source folder that will not move until another batch of files arrive.
    Here is our Schedule/notify settings:
    limagito filemover scan timer setup
    limagito file mover schedule setup
    Limagito filemover Change Notify Isn't Picking Up
    Are we setting something wrong?
    A: Probably not, it seems the last file you are adding to the Source folder was not fully there and we tried to move it. Because ‘Exclude Files In Use’ was enabled we didn’t touch this file. In version v2026.7.26.0 we added an extra option: ‘Retry Check if In Use’. Enabling this extra option should fix your issue when ‘Exclude Files In Use’ is enabled together with Change Notify as trigger.
    limagito file mover file filter setup
    In version v2026.8.6.0. retry times is now adjustable, time between retries is one second.
    limagito filemover Change Notify Isn't Picking Up
    If you need any help about this ‘Change Notify Isn’t Picking Up’ question, please let us know.

    Best Regards,

    Limagito Team

    #changenotify #managedfiletransfer #filetransfer #filemanagement #limagito

  • 26 Aug

    How to add a no file edited trigger

    Q: How to add a no file edited trigger

    I have a question about how to carry out a specific task. I couldn’t find the answer on the blog, so I’m reaching out to you.
    Context :
    • I have 4 WIN sources, each containing 7 XML files.
    • These files can be edited or not every x minutes.
    Needs :
    • I need an email to be sent if the last write time of all the files exceeds 55 minutes.
      • In summary, if no files have been edited for over 55 minutes.

    A: Yes this is possible, please have a look at the following setup:

    • We used WIN as Source and added 4 local folders:

    limagito file mover WIN as source setup

    • Source Setup Result:

    limagito file mover source setup

    • Next, Moving Rule menu item > “Rule Events”

    limagito file mover rule events setup

    • Select and enable “On Rule Begin” > Pascal Script setup:
      • Check “Enable Pascal Script”
      • Add the Script: link

    limagito file mover on rule begin event

    • Select and enable “On Rule End” > Email Setup

    limagito file mover on rule end

    • Use a valid email address for both the “From” and “To” fields
    • Set Subject
    • Add information in the message Body (optional)

    limagito file mover on rule end email message setup

    • Keep “On Rule End” selected > Pascal Script Setup:
      • Check “Enable Pascal Script”
      • Add the Script: link

    limagito file mover add a no file edited trigger

    • Keep “On Rule End” selected > Options Setup:
      • Enable “Use Pascal Script as Event Precondition”

    limagito file mover on rule end options

    • File Filter Setup > Filename Include Filter: we are only looking for .xml files

    limagito file filter setup

    • File Filter Setup > File Date > Younger Than 55 minutes

    limagito file mover file date filter setup

    • Function Setup:
      • Set Function to Copy
        • We are not really going to “copy” files, we just want to leave the files at the WIN source(s)

    limagito file mover function setup

    • Destination Setup:
      • Add PScript as Destination, script: link
        • This script increase the Variable Integer A each time when a file younger than 55 minutes is found

    limagito file mover pascal script as destination

    • Enable and Execute Rule

    limagito file mover enable and execute rule

    • RunTime Log > Valid file(s) available

    limagito file mover runtime log

    • RunTime Log > No valid file avaible > Do Send Email

    limagito file mover runtime log

    If you need any help about this ‘add a no file edited trigger’, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

1 2 3 4 … 11
SEARCH