File Mover Blog

  • 26 Dec

    How do I migrate LimagitoX to another system

    Procedure to migrate your current ‘old’ installation to a ‘new’ system. Migration is possible starting from v11 up to our latest version.

    1) On the ‘old’ system:

    • Create a backup of the Settings Directory:
      • Open the ‘Settings Directory’ of the current File Mover installation. Menu Item: Tools > Settings Dir
      • Create a backup of all files (including subdirectories) within this directory (default C:\ProgramData\LimagitoX\*.*)
      • The most important file is LimagitoX.sqlite (contains all settings)

    2) On the ‘new’ system:

    • Install the latest version (v2018 or higher)
    • Start the LimagitoX File Mover Config tool (do not start any other file mover exe yet)
      • Open the ‘Settings Directory’ using the ‘Tools > Settings Directory’ menu item of this Config tool
      • Close Config tool (important !)
      • Copy the complete backup content from the ‘old’ server into this directory (default C:\ProgramData\LimagitoX\)
      • It will ask you to overwrite some files on the new server which is ok to do. All files from the backup (= ‘old’ server) must be copied to the new server.
    • In case of a new license file:
      • Start the LimagitoX File Mover Config tool once more (do not start any other file mover exe yet)
      • Select and Import the new license file (“License File” Tab)
      • Close Config tool

    3) Open the Intro.pdf file on the new server and start with the ‘First Usage’ section of this document (you can skip the first item of the First Usage section which is ‘Install the latest version’).

    Regards,

    Limagito Team

    By Limagito-Team Q&A Settings Backup Update
  • 24 Nov

    Pascal Script, User Request Example No 1

    Dear Users,

    We often get user specific questions. Not every request goes into our file transfer tool as an option. In such cases (and if it is possible) we create a custom Pascal Script for the end user.

    Example No1:

    People are asking a lot to LimagitoX. Today, a user asked me if I can make a LimagitoX rule with a filter on the number of lines in a file.

    Example:  Transfer the file if it contains more than 300 records.  The file type is *.txt

    The rule will be:

    Transfer files with less than 300 lines in weekday.

    Transfer files with more than 300 lines on Sunday.

    No transfer on Saturday.

    Do you think you can add such a kind of filter?

     

    For this request we created the ‘On Destination’ Pascal Script below. IMPORTANT: Be sure you set the file filter to only allow *.txt files

    Var
      tmpList: TStringList;
      tmpNow: TDateTime;
    Begin
      psExitCode:= 0;
      // ... add your code here
      tmpList := TStringList.Create;
      Try
        Try
          tmpList.LoadFromFile(psFilePath + psFileName);
          tmpNow := Now;
          // Transfer files with less than 300 lines in weekday ( 1 .. 5 ).
          If (tmpList.Count < 300) And (DayOfTheWeek(tmpNow) < 6) Then Begin psLogWrite(1, '', 'Line Count of ' + psFilePath + psFileName + ' = ' + IntToStr(tmpList.Count)); psLogWrite(1, '', 'Day Of The Week is ' + IntToStr(DayOfTheWeek(tmpNow))); psExitCode := 1; End; // Transfer files with more than 300 lines on Sunday ( 7 ). If (tmpList.Count > 300) And (DayOfTheWeek(tmpNow) = 7) Then
          Begin
            psLogWrite(1, '', 'Line Count of ' + psFilePath + psFileName + ' = ' + IntToStr(tmpList.Count));
            psLogWrite(1, '', 'Day Of The Week is ' + IntToStr(DayOfTheWeek(tmpNow)));
            psExitCode := 1;
          End;
        Except
          psLogWrite(1, '', 'Exception error on loading ' + psFilePath + psFileName);
        End;
      Finally
        tmpList.free;
      End;
    End.
    
    By Limagito-Team Pascal Script ,
  • 21 Nov

    HTTP AS2 Receiver

    Dear Users,

    As you probably know, our File Mover has a built in ‘Simple’ HTTP Server. Simple because the HTTP Server was only used to serve the RunTime Log as html page in your browser and also some basic functions were available. As this was deprecated by our Web Remote Tool, the idea was to remove the HTTP Server in one of our next releases. But .. this is not going to happen. We got a request from a user (hi Rian) to add a AS2 Receiver. Since AS2 is HTTP we needed a HTTP Server.

    To use the AS2 Receiver option you first need to ‘enable’ the HTTP Server. An option to enable SSL/TLS (HTTPS) is also available.

    The AS2 settings are available in the ‘AS2 Receiver’ tab.

    • AS2 Receiver Setup
      • Url Path: default /as2handler so in this case the HTTP Server will receive posted files to http(s)://MyIPAddress/as2handler
      • Output Directory: destination directory for
        • Received AS2 message file (.as2m)
        • Decrypted data file
        • Receipt file (.as2r – optional)
      • Message Filename: Filename structure for the received AS2 message file
      • Data Filename: Filename structure for the decrypted AS2 data file

    ( %SFN = filename of included data file in AS2 message )

    • AS2 Receiver Decryption Setup

    • AS2 Receiver Verification Setup

    • AS2 Receiver Receipt Setup

    Feedback would be, as always, much appreciated. Don’t hesitate to contact us.

    Regards,

    Limagito Team

    By Limagito-Team AS2
1 114 115 116 117 118 119 120 145
SEARCH