• 12 Nov

    How to skip a path in http as source method 2

    How to skip a path in http as source method 2

    Q: There are times when downloads are no longer needed for a couple months, is there something I can place in front of the URL to that they are skipped? I tried a semicolon and that did not work 🙂

    A: Option added in version v2023.11.10.0

    When the URL starts with a ! (exclamation mark) then it will be skipped, example: !https://limagito.com/helpxfm/IntroXFM.pdf
    limagito file mover skip a path in http

    #filetransfer #filemanagement

    If you need any help with this ‘skip a path in http’ option, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team HTTP
  • 12 Nov

    Change Notify network folders usage optimization

    Change Notify Network folders usage optimization (v2023.11.11.0) [*]

    In this version we optimized the code for network folders. We added a watchdog in case something goes wrong with the connection to the network folder. It will show you the necessary error information in the log and also we linked the ‘On No File Found’ event to the case when the watchdog is triggered. You could use this event to get an email notification when something goes wrong with the Change Notify monitoring of a (network) folder.

    limagito file mover rule events

    limagito file mover on no file found event

     

    Change Notify, Force scan after error recovery (v2023.11.12.0) [+]

    New option ‘Force single scan after error recovery’ was added. If due to some reason the connection to the network share is lost and repaired afterwards by the new Watchdog option, you have the possibility to do a full scan of the source folder.

    limagito file mover chnage notify network folders

     

    #filetransfer #filemanagement

    If you need any help with this ‘Change Notify network folders’ option, please let us know.

    Best Regards,

    Limagito Team

  • 05 Nov

    How to setup a rule that reads a list of folders from a file

    How to setup a rule that reads a list of folders from a file

    Q: I wonder can you help me. I have a Source folder with hundreds of subfolders, each with a 5-digit numeric name –
    c:\source\23432, c:\source\76453 – you get the idea

    Inside each subfolder is a list of .txt and/or .inp files. – that’s kind of irrelevant.

    I’m trying to setup a rule that reads a list of folders from a file, one per line

    I want the rule to move t or copy the contents of just those subfolders to a destination which will also have the entry from the file somewhere in the destination path – e:\destinatio\<foldername>\target for eample

    I’ve tried use %FSA in various ways, but I’m hitting a brick wall. Any ideas?

    Limagito: Could you send me an example of such a file which contains the folders to copy

    It’s as simple as these  – so the source folders would, for example, be c:\source\<linefromfile> and the destination would be e:\dest\<linefromfile>

    list of folders from a file

    List of folders from a file\list of folders from a file

    Limagito: ok both text files are just examples I guess. Th text file to read from would always have the same name or would there be multiple txt files?

    For each rule, the text file will always be the same – one text file per job. The contents of each source folder however will change

    A: This is possible using a custom script.

    • We are using a Windows folder as source.

    limagito file mover windows folder as source

    • This folder contains subfolders, each with a 5-digit nummer.

    limagito file mover test folder setup

     

    • Please open our ‘Pascal Script’ option:

    limagito file mover pascal script option

    • Please enable and add the following ‘On Rule Begin’ Pascal Script. Don’t forget to adjust the ctTxtFile const. The script will read the content of the external text file and will set to our %VSA variable. This %VSA variable will be used in the Directory setup later.

    You can download the script: here

    limagito file mover pascal script option

    • The Directory Filter setup is very important in this case:
      • Enable ‘Include Subdirectories’
      • ‘Exclude Basedirectory’, because we only are interested in the content of the subfolders
      • Set ‘Subdirectory Filter Depth’ to ‘1’. Only the first level folder name is the one that will be used to check if it exists in the txt file.

    limagito file mover directory filter setup

    • Switch to the ‘Dir Name’, ‘Include’ tab:
      • Add  %VSA  as Directory Include Filter

    limagito file mover directory filter setup

    • Switch to ‘Advanced’ tab:
      • Set ‘SubDir Search Mode (WIN) to ‘Exclude Complete Invalid SubDirs’
        • The reason is that we will not scan invalid subfolders. So, if we can not find the folder name (5-digit numeric name) in the external text file, we’ll skip the subfolder completely.

    limagito file mover directory filter setup

    • We used a Windows Folder as Destination with default setup options:

    limagito file mover windows folder as Destination

    limagito file mover windows folder as destination setup

    limagito file mover windows folder as destination setup

     

    • RunTime log result:

    limagito file mover runtime log result

    • Destination output result:

    limagito file mover test folders

    #filetransfer #filemanagement

    If you need any help with this ‘list of folders from a file’ request, please let us know.

    Best Regards,

    Limagito Team

1 2 3 4
SEARCH