• 15 May

    Limagito SFTP Server is coming to Limagito File Mover

    Limagito SFTP Server is coming..

    At the moment we are adding a (Simple) SFTP Server option. Work is progressing well and our goal is to release a first version this month. Stay tuned 🙂

    First we’ll start with Username & Password authentication. Next we’ll add Public Key authentication.

    Supported SSH Algorithms:

    • Encryption: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc
    • Data Integrity: hmac-sha2-256,hmac-sha1,hmac-md5
    • Key Exchange: diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
    • Signature: hmac-sha2-256,hmac-sha1,hmac-md5

    Our To-Do List:

    • Code optimization
    • Detailed Logging
    • Guard protection
      • Block brute force attacks
      • Limit connections per IP / time interval
      • Black IP list and White IP list
      • Accept IP Class C wildcards
      • Login delay: Incremental, Random, ..
    • Public Key authentication

    Some ‘current’ status screenshots:

    1.Server Setup:

    Limagito SFTP Server Setup

    2.User Accounts Setup:

    Limagito SFTP Server User Accounts

    3.Host Key Setup:

    Limagito SFTP Server Host Key

    #FileTransfer

    If you need any info about this ‘Limagito SFTP Server’ feature, please let us know.

    Best regards,

    Limagito Team

    By Limagito FTP & SFTP
  • 08 May

    Second AWSS3 Vendor option was added in Limagito File Mover

    A second AWSS3 vendor was added in LimagitoX File Mover version v2021.5.8.0. This second vendor is also based in the USA and has a long history with providing API’s for many internet protocols. The reason we did this is because we want to be ready for the future. This second vendor opens new opportunities and also supports TLS1.3 (Security Tab – Select ‘Automatically TLS’).

    Switching can be done on the fly. Default is still the original vendor (Vendor 1 – SB) which we are using for quite some time now. This new option is available under the ‘Setup’ tab of your AWSS3 setup. Feedback experience about using the new vendor would be much appreciated.

    Limagito File Mover AWSS3 second vendor

    If you need any help with this second ‘AWSS3 vendor’, please let us know.

    Best Regards,

    Limagito Team

    By Limagito AWS S3 ,
  • 07 May

    Q&A 43: Read first line of a file and move to a specific folder

    Q: Read first line of a file and move to a specific folder. I have some files that sit on a server and I would like to move them off to archive. Each file has a code in the first line that tells me where the file came from. The files are regular text (.txt) files. How can I set up Limagito to move the file based on that code? If the code contains B01, move to a folder named Branch1. If the code contains B02, move to a folder named Branch2. The code will usually have more letters surrounding the B01 and B02, so I need the logic to pick up on B01 and B02 being in the code.
    A: Yes this is possible. All you need a simple Pascal Script. We’ve added some screenshots to get you started.

    As a start we added a new Moving Rule with WIN as Source. In the windows source folder we added some txt files. We’ll read the first line and check if certain codes exists (B01, B02, ..). Depending on the code found we’ll use a different subfolder of the Destination folder. If this subfolder doesn’t exist then we’ll create it.

    1.Please open the Pascal Script option:

    LimagitoX File Mover Pascal Script

    2. Enable and add the following ‘On Destination’ Pascal Script:

    var
      tmpLine: String;
      tmpList: TStringList;
    Begin
      psExitCode:= 0;
      psVSA := 'Unknown'
      // ... add your code here
      tmpList := TStringList.Create;
      Try
        try
          tmpList.LoadFromFile(psFilePath + psFileName);
          // Check First Line
          If tmpList.Count <> 0 Then
          Begin
            tmpLine := UpperCase(tmpList.Strings[0]);
            psLogWrite(1, '', 'First Line: ' + tmpLine);
            // check
            If Pos('B01', tmpLine) <> 0 Then psVSA := 'Alabama';
            If Pos('B02', tmpLine) <> 0 Then psVSA := 'Alaska';
            If Pos('B03', tmpLine) <> 0 Then psVSA := 'Arizona';
            If Pos('B04', tmpLine) <> 0 Then psVSA := 'Arkansas';
            If Pos('B05', tmpLine) <> 0 Then psVSA := 'California';
            If Pos('B06', tmpLine) <> 0 Then psVSA := 'Colorado';
            If Pos('B07', tmpLine) <> 0 Then psVSA := 'Connecticut';
            If Pos('B08', tmpLine) <> 0 Then psVSA := 'Delaware';
            If Pos('B09', tmpLine) <> 0 Then psVSA := 'Florida';
            If Pos('B10', tmpLine) <> 0 Then psVSA := 'Georgia';
            // Set ExitCode
            psLogWrite(1, '', 'Subfolder which will be used ' + psVSA);
            psExitCode := 1;
          End
          Else
            psLogWrite(1, '', 'Error no lines in ' + psFilePath + psFileName);
        Except
          psLogWrite(1, '', 'Error when loading ' + psFilePath + psFileName);
        End;
      Finally
        tmpList.Free;
      End;
    End.

    Limagito File Mover Pascal Script On Destination

    3. Destination Setup, Create Subdir, option:  %VSA

    XFM Limagito File Mover Destination SubDir option

    4. RunTime Log Result

    Limagito File Mover RunTime Log

    5. Destination SubFolder Structure, if subfolder doesn’t exist then it will be create by our File Mover:

    #FileTransfer

    If you need any help with this ‘Read first line of a file’ request, please let us know.

    Happy Easter,

    Limagito Team

1 2