Limagito Filemover News

  • 29 Dec

    You are going to use our File Mover as Application

    1. Install the latest version (v2018 or higher)
    2. Start the LimagitoX File Mover Config tool
      • Import the new License using the <Import> function (License File tab of the Config tool)
      • Close Config tool
    3. Start LimagitoX File Mover Application
      • You’ll notice that the Application has a basic GUI.
      • This Application is the ‘Engine’ and should always run. It will be doing all the file transfers.
      • There is an option to let it run minimized in the System Tray.
    4. Start LimagitoX File Mover Remote tool
      • Select destination: ‘LimagitoX Application’
      • Click <Connect> and <OK>
    5. You are now remotely connected to the File Mover Application.
      • All Setup is done using this Remote tool
      • You can close the Remote tool when you are finished (it does not need to run)
    6. Done
    7. Optional: Our Web Remote Service can be installed to fully control the File Mover Application using your browser. Please check the ‘Installation.pdf’ to install the Web Remote Service.
  • 29 Dec

    You are going to use our File Mover as Service

    1. Install the latest version (v2018 or higher)
    2. Start the LimagitoX File Mover Config tool
      • Import the new License using the <Import> function (License File tab of the Config tool)
      • Click <Install> (Service tab of the Config tool). Don’t start the Service yet!
      • Open Services.msc
        • Search for LimagitoX service
        • Change the ‘logon as’ user to a user with sufficient rights!
        • Close Services.msc
      • Click <Add 2 Firewall> (Service Tab of the Config tool)
      • Click <Start> (Service Tab of the Config tool)
      • Close Config Tool
      • The running Service is the engine doing all the file transfers.
    3. Start LimagitoX File Mover Remote tool
      • Select destination: ‘LimagitoX Service’
      • Click <Connect> and <OK>
    4. You are now remotely connected to the service.
      • All Setup is done using this Remote tool
      • You can close the Remote tool when you are finished (it does not need to run).
    5. Done
    6. Optional: Our Web Remote Service can be installed to fully control the File Mover Service using your browser. Please check the ‘Installation.pdf’ to install the Web Remote Service.
  • 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

    image.png

    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.
1 2 3 4 19