File Mover Blog

  • 19 Nov

    Pascal Script, Creating a text file

    Dear users,

    Simple Pascal Script to create a txt file containing the files handled by our file mover.

    1 Add PS as Destination

    2. Add the following Pascal Script. Don’t forget to adjust the ctOutputPath and ctOutputFilename.

    Var
      tmpList: TStringList;
      tmpFile: String;
    Const
      ctOutputPath = 'C:\Test\Out\';
      ctOutputFilename = 'Info.txt';
    Begin
      psExitCode:= 1;
      // Init Var
      tmpFile := ctOutputPath + ctOutputFilename;
    
      tmpList := TStringList.Create;
      Try
        psLogWrite(1, '', 'Add ' + psfilePath + psFileName + ' to ' + tmpFile);
        If FileExists(tmpFile) Then
          tmpList.LoadFromFile(tmpFile);
        tmpList.Append(psFilePath + psFilename);
        tmpList.SaveToFile(tmpFile);
      Finally
        tmpList.Free;
      End;
    End.
    

    Regards,
    Pascal

    By Limagito-Team Pascal Script ,
  • 17 Nov

    How-To Print PDF Files using PDF as Destination

    Print PDF Files

    In version v2019.11.17.0 we’ve added an option to print PDF files.

    Don’t forget to add a Filename filter so only PDF files as Source will be handled (*.pdf).

    PDF as Destination. Multiple ‘PDF Actions’ can be added. Each Action can be Enabled/Disabled.

    There is a possibility to select the pages within the PDF Source File.

    • All Pages
    • Odd Pages
    • Even Pages
    • Custom Pages

    Some info about the ‘Custom Pages’ selection.

    • Separate the Pages using a comma ( i.e. 1,2,3 )
    • 0 = last page
    • -1 = last page minus 1
    • m = middle page(s)

    > Print Page 1 and 2 of a multi page PDF file as Source

    > Print Setup options Tab

    You can use the Default printer or select on of the available printer devices on your system.

    After selection click on the ‘+’ button. This will add the selected printer to the Device Name field. The Device Name field is used as custom printer when ‘Use Default Printer’ is disabled.

    As always, feedback would be much appreciated.

    Regards,

    Limagito Team

    By Limagito-Team PDF ,
  • 12 Nov

    SFTP (SSH) Authentication Types

    Source: www.secureblackbox.com

    By Limagito-Team SFTP , ,
1 104 105 106 107 108 109 110 145
SEARCH