• 10 Dec

    How to send just the logs from a most recent rule run

    Q: I am trying to send just the logs from a most recent rule run, but it seems to send me the entire log of the current log file. Is there a way for me to just send the most recent logs in an error email using the parameter %LRT ?

    A: You are using %LRT in your email setup so you could add the following ‘On Rule Begin’ Pascal Script to reset the RunTime log first when the Rule is triggered:

    • Open our Pascal Script option:

    limagito file mover pascal script option

     

    • Enable and add the following ‘On Rule Begin’ Pascal Script:

    limagito file mover logs from a most recent rule

    If you need any help with this “logs from a most recent rule” question, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Email Logging
  • 10 Dec

    How to make Filemover available on a web page for users

    Howto make Filemover available on a web page for users

    Q: Please can you send me the process of making Filemover available on a web page for users to see the rules and check their status.

    A: an older article is available here

    • When you didn’t enable our ‘Web Remote Client’ option during the installation then please run the installer again, please check the info here. This option will add the Web Remote Service (LimagitoXW.exe) to the install directory and will install the FMSoft uniGUI RunTime Framework. This framework will be used by the Web Remote Service.

    limagito file mover web page for users

    • After installation you can install and start the Web Remote Service using our Limagito File Mover Config tool (LimagitoXC.exe).
      • Select Web Remote Tab > Install
        • Click <Install>
        • Click <Add 2 Firewall> (optional)
        • Click <Start>
      • The webpage will be available at http://YourSystemName:8077 or (http://127.0.0.1:8077)

    limagito file mover web remote setup

      • Select Web Remote Tab > Setup
        • Default port is 8077
        • IP: 0.0.0.0 (any IP assigned to the system)
        • SSL Setup
      • Don’t forget to click <Save> if you made any changes to the setup.
        • You’ll need to stop the Web Remote Service first (Web Remote Install Tab)
        • Click <Save>
        • Start the Web Remote Service

    limagito file mover web remote client

    • Result:

    limagito file mover web remote

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

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

  • 08 Dec

    How to email a list of deleted files

    How to email a list of deleted files

    Q: I want to email a list of deleted files on a weekly base. Is this possible with Limagito File Mover.

    A: You could use our ‘Logging to File’ option but in this case the customer wanted a custom list file so we used our scripting option.

    • First you’ll need to setup your delete Rule. We used a Windows Folder as Source:

    limagito file mover Windows folder as source

    • Set Function To ‘Delete Files’:

    limagito file mover list of deleted files

    • Open our ‘Rule Events’ option:

    limagito file mover rule events option

    • Enable ‘On Success’ Event and add the following Pascal Scriptt:
      • do not forget to adjust the ctOutputFile Const
        • We used ‘C:\Test\FileToSend.txt’
    Var
      tmpList: TStringList;
    Const
      ctOutputFile = 'C:\Test\FileToSend.txt';
    Begin
      psExitCode:= 1;
      // ... add your code here
      tmpList := TStringList.Create;
      Try
        Try
          If FileExists(ctOutputFile) Then
            tmpList.LoadFromFile(ctOutputFile)
          Else
            tmpList.Add('Files deleted since ' + FormatDateTime('d mmmm yyyy', Now));          
          // Add Info
          tmpList.Add(FormatDateTime('YYYY/MM/DD HH:NN:SS', Now) + ' Deleted File: ' + psFilePath + psFileName);
          // Save
          tmpList.SaveToFile(ctOutputFile)          
        Except
          psLogWrite(1, '', 'Could not adjust file: ' + ctOutputFile); 
        End;
      Finally
        tmpList.Free;
      End;
    End.

    limagito file mover list of deleted files

    • Next add a second Rule which you’ll trigger once a week. Let the second Rule ‘Move’ the create file ‘C:\Test\FileToSend.txt’ (previously defined inthe script of the delete Rule as ctOutputFile) and use SMTP (email) as Destination.
      • We would use our schedule option to move this listing file once a week
        • The example is set to every Monday at 6:00 AM

    limagito file mover schedule option

    If you need any help with this “list of deleted files” question, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

1 2
SEARCH