File Mover Blog

  • 08 Jun

    New subdirectory parameter option added to limagito file mover

    New subdirectory parameter option added

    We recently added a new directory parameter option :?=?: > :BeginIndex=EndIndex:

    It will split any var which contains a backslash and can be used for example with our %SFS Var = Source File Subfolder(s).

    For example if %SFS would contain “Bak\BakSub\UNIT_1_4.1.2025”. The result of the split would be:

    • Index 1: Bak
    • Index 2: BakSub
    • Index 3: UNIT_1_4.1.2025

    When you set the BeginIndex to 0 (zero) then we’ll start at the highest Index. Some examples:

    • %SFS:0=1:
      • 0 > start at the highest index
      • 1 > use the last subfolder part only
      • Result would be: UNIT_1_4.1.2025
    • %SFS:2=3:
      • 2 > start at index 2
      • 3 > End at index 3
      • Result would be: BakSub\UNIT_1_4.1.2025

    Many combinations are possible. Please check the following blog article where we used this new parameter option.

    – File renaming setup when you have multiple levels of subfolders and you only need the parent subfolder name:

    • %SFS:0=1:
      • 0 > start at the end of the subfolders(s) Var %SFS > %SFS = Source File Subfolder(s)
      • 1 > use the last subfolder part only
    RegEx:  (.*)\.(.*)
    Replacement:  %SFS:0=1:.\2

    limagito file mover file renaming setup

    If you need any help with this ‘subdirectory parameter option’ option, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

  • 08 Jun

    How to rename a file using its parent folder name

    How to rename a file using its parent folder name

    Q: When working with Limagito, we were wondering if you had recommendations on how to handle this scenario.

    1. We would like to transfer files from a directory lets call it E:\Orignal Location. I have two folders and files under this directory below.
      • Under E:\Orignal Location\UNIT_1_4.1.2025\history.xml
      • Under E:\Orignal Location\UNIT_2_5.1.2025\history.xml
    2. We would like to rename the history.xml to the parent folder name, highlighted above, while moving it to final file location E:\Final Location
    3. The file result we are looking for is for two files in the location  E:\Final Location:
      • UNIT_1_4.1.2025.xml
      • UNIT_2_5.1.2025.xml

    How would you recommend configuring, or is it possible to configure the renaming since the value we want to rename is the parent name, while also moving the file to a new location with Limagito.

    A: We did a test with pdf files instead of xml, but the result would be the same.

    In your case,  E:\Orignal Location\ would be the WIN Source

    Our Directory Filter setup:

    limagito file mover directory filter option

    limagito file mover directory setup

    Destination Setup:

    limagito file mover destination setup

    limagito file mover destination options

    limagito file mover Windows folder as destination

    Please uncheck ‘Create Subdir’ because all files should go to the same folder:

    limagito file mover destination file and directory options

    Enable ‘Rename Files during Copy/Move’

    limagito file mover destination file rename option

    – Add the following file renaming setup:
    RegEx:  (.*)\.(.*)
    Replacement:  %SFS.\2

    limagito file mover destination file rename setup

    – Alternative file renaming setup when you have multiple levels of subfolders:

    • %SFS:?=?: parameter option was added recently
      • %SFS:0=1:
        • 0 > start at the end of the subfolders(s) Var %SFS > %SFS = Source File Subfolder(s)
        • 1 > use the last subfolder part only
    RegEx:  (.*)\.(.*)
    Replacement:  %SFS:0=1:.\2

    limagito file mover file renaming setup

    – RunTime Log result:

    limagito file mover runtime log result

    If you need any help with this question, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team How-to Rename , ,
  • 08 Jun

    How to use domain account authentication in our SFTP and FTP server

    How to use domain account authentication in our SFTP and FTP server

    In version v2025.6.8.0 we added the possibility to use domain users as authentication method.

    Select Server menu item > SFTP Server

    limagito file mover sftp server option

    There are a couple of ways to use this new ‘Domain User’ option. The examples below are related to SFTP but the same counts for FTP(S).

    1. First example:

    • Domain User is enabled
    • Username is set to “administrator”
    • Domain Name is set to “limagito”

    When a SFTP client connects to our SFTP server with the user “administrator” we will request the domain “limagito” to check if the provided password from the SFTP  client is correct.

    limagito file mover sftp server domain account authentication

    2. Second example:

    • Domain User is enabled
    • Username is set to “limagito\administrator”.
      • The Username is prefixed by the domain.
      • You need to use the sAMAccountName
    • Domain Name is left blanc

    When a SFTP client connects to our SFTP server with the user “limagito\administrator” we will request the domain “limagito” to check if the provided password from the SFTP  client is correct.

    limagito file mover sftp server domain account authentication

    3. Third example:

    • Domain User is enabled
    • Username is set to “localhost\administrator”.
      • The Username is prefixed by the domain.
      • You need to use the sAMAccountName
    • Domain Name is left blanc

    When a SFTP client connects to our SFTP server with the user “localhost\administrator” we will request the localhost user accounts to check if the provided password from the SFTP  client is correct.

    limagito file mover sftp server accounts setup

    In this version we also added a LDAP(S) client option. In the first two account examples we used the “limagito” domain. Our domain LDAPS server is listening on IP 192.168.2.202 – Port 636.

    • Check ‘Enable LDAP Client(s)’
    • Add the Client(s) you need
      • You can add multiple domains
    • For each domain you add, you need to add:
      • LDAP Host, our LDAP test server is using the IP 192.168.2.202
      • LDAP Port, our LDAP test server is listening on Port 636
      • LDAP Use TLS
        • When enabled TLS will be used to encrypt the LDAP packets

    limagito file mover sftp server ldap setup

    If you need any help with this ‘domain account authentication’ option, please let us know.

    Best Regards,

    Limagito Team

    #sftp #ldap #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team FTP LDAP SFTP ,
1 2 3 4 153
SEARCH