File Mover Blog

  • 27 Sep

    REST as Source was added to LimagitoX File Mover

    REST as Source was added in LimagitoX File Mover version v2020.9.27.0

    This was done on request by a customer who wanted to use our File Mover to download HL7 results using REST.

    LimagitoX File Mover REST as Source

    In the screenshot we seleceted ‘Quest HL7 Results’ as Web Service API and added the Request Url:

    The JSON Request field stays empty, this is only used when you select Custom as Web Service API.

    LimagitoX File Mover REST Setup

    Don’t forget to add the Acknowledgment Url (not the same as the Request Url):

    LimagitoX File Mover REST Ack Setup

    REST Security Setup:

    LimagitoX File Mover REST Security Setup

    REST Common options:

    LimagitoX File Mover REST Common options

    REST RunTime Log

    LimagitoX File Mover REST RunTime Log

    If you need any help with the REST as Source option, please let us know. We are interested in adding your ‘custom’ REST API.

    Best regards,

    Limagito Team

    By Limagito-Team HL7 REST ,
  • 02 Sep

    Second FTP Vendor option was added in LimagitoX File Mover

    A second FTP vendor was added in LimagitoX File Mover version v2020.9.2.0. This second FTP 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 there are quite some different FTP servers out there and it seems we couldn’t cover them all. With a second vendor we try to minimize this. The second FTP vendor 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 FTP setup. Feedback experience about using the new vendor would be much appreciated.

    LimagitoX File Mover FTP Second Vendor

    If you need any help , please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team FTP , ,
  • 01 Aug

    Q&A 22: move a file and rename the file so it includes the directory name

    Q: I’m trying to move a file that’s within 1 directory and rename the file so that it includes the directory name

    Source: C:\Source1\File.txt

    Destination: C:\Destination\Source1_File.txt

    I want it to take the directory name that it is contained in, then string it to the front of the filename, but move it to it’s destination C:\Destination\.

    We would only want it to pertain to the previous directory by 1 level.

    • C:\Source1\File1.txt => C:\Destination\Source1_File1.txt
    • C:\Source1\Sub\File2.txt => C:\Destination\Sub_File2.txt

    A: Yes this is possible using some ‘Pascal Script’

    Let’s start with the Source, we added a Windows folder:

    LimagitoX file Mover Windows Folder as Source

    In the ‘Directory Filter’ setup we enabled include scanning of subdirectories (optional, is not a must):

    LimagitoX file Mover Include Subdirectories

    Destinations setup, important the first destination must be a ‘Pascal Script’:

    LimagitoX file Mover Destination Setup

    First Destination should be a ‘Pascal Script’. We used ‘Source1’ as default PreFix for the Source Root Folder (you can adjust this):

    Var
      tmpPos: Integer;
      tmpSubDir: String;
    Const
      ctRootPrefix = 'Source1';
    Begin
      psExitCode:= 1;
      // ... add your code here
      psVSA := '';
      tmpSubDir := '%SFS';
      tmpPos := pos('\', tmpSubDir);
      If tmpPos<>0 Then
      Begin
        psVSA := Copy(tmpSubDir, tmpPos + 1, Length(tmpSubDir) - tmpPos);
        psLogWrite(1, '', 'Stripped Prefix from SubDir: ' + tmpSubDir + ' : ' + psVSA);  
      End
      Else
        psVSA := ctRootPrefix;   
    End.
    

    LimagitoX file Mover Pascal script

    Second Destination is a windows folder where the source files should be moved/copied to:

    LimagitoX file Mover Windows Folder as Destination

    Enable and setup File Renaming in the Windows Destination:

    LimagitoX file Mover File Renaming

    File Renaming setup:

    • RegEx:   (.*)
    • Replacement:   %VSA_\1

    LimagitoX file Mover File Renaming Setup

    RunTime Log result:

    LimagitoX file Mover RunTime Log

    Output Folder result:

    If you need any help , please let us know.
    Regards,
    Limagito Team
    By Limagito-Team Q&A ,
1 74 75 76 77 78 79 80 135
SEARCH