File Mover Blog

  • 10 Apr

    Having some CPU performance issues running the file mover service

    Q: Im having some CPU performance issues running  the file mover service on windows server 8cpu 32g ram in Azure. Would you be able to offer any advice on optimising the file mover rules? I tried the prefix filter as you told me and it definitely improved the speed that the rules execute but I found it still maxed out all CPUs while running (i also increased to 16cpu as a test), i tried with affinity set to allow only 3 CPU and timing is fine as well as not affecting the VM running. However that wont persist after reboot so i need to run a script or find some other solution have you come across this before? any way to set max cpu core in the application?

    A: You don’t need paid support as long as you license is active. In version v2025.4.10.0 we added the following option: ‘Process Affinity’. This way you can limit the amount of cores our engine will use.

    In the following example the system has 4 cores (0,1,2,3) and the engine is limited to use core 0 and 1 ( 0,1 )

    limagito filemover cpu performance issue

    If you need any help with this “CPU performance issues” option, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Q&A , ,
  • 18 Mar

    Strip date from filename filter and move files older than the x days

    Strip date from filename filter and move files older than the x days

    Q: I want to make a file filter-> regex filter able to move files older than the current date -n to another folder.

    The files i question are named like this: hjernetrim-quiz-helside_2025-01-28.pdf (hjernetrim-quiz-helside_yyyy-mm-dd.pdf)

    I can’t figure out how to use the regex Filter. I have no luck with this: hjernetrim-quiz-helside_TCD:[IncDay-5]yyyy-mm-dd:
    Can you help me finding the correct filter syntax?
    A: In this case we are going to strip the date part from the filename and convert it to a Date. Afterwards we’ll compare this with the current date and when older than 5 days we’ll allow the file to be moved. We are not going to use a file filter for this but instead use a little script.
    • First setup your Source, we used a Windows folder as Source:
    limagito file mover windows folder as source
    • Open our Pascal Script option:
    limagito file mover pascal script option
    • Enable and add the following ‘On Destination’ script:  link
      • You can adjust the ctOlderThanDays Const if needed. At the moment it is set to 5
    limagito file mover strip date from filename
    • As Destination we used a Windows Folder:

    limagito file mover windows folder as destination

    • RunTime Log Result:

    limagito file mover runtime log result

    If you need any help with this “strip date from filename filter”, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

  • 16 Mar

    Rename a file when it is sent to the destination

    Q: We are trying to rename a file when it is sent to the destination. I am struggling to make this work.  I have renamed files in the past when they have an extension already however these files do not have an extension. For example we want to move file test (no ext) to a new folder and add .dat to the end so the file in the new folder is called test.dat

    A: The Destination has a File Rename option which uses Regular Expressions

    Please have a look at the following screenshot:

    RegEx:  (.*)

    Replacement:  \1.dat

    limagito file mover rename afile

     

    If you need any help with file renaming, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Rename
1 2 3 4 149
SEARCH