File Mover Blog

  • 28 Jul

    IBM iSeries FTP Server

    Dear Users,

    .. need to write an article ..

    More info at rzaiqpdf.pdf
    More info at FileZilla

    Connecting to IBM iSeries FTP Server

    Directory: /QSYS.LIB/QGPL.LIB

    or

    Directory: /QSYS.LIB/USERLIB.LIB

    Add the following lines to the FTP setup ‘Send Command(s) after connect’ option:

    quote site namefmt 1
    quote site listfmt 1

    quote site namefmt 1 : this command is going to tell to the remote AS400 FTP server to put himself in a regular unix standard naming schema.
    quote site listfmt 1 : this command is going to tell the remote AS400 FTP server to display the list (when you do the ls command) of its file like a unix machine.

    We are searching for a user who is willing to test this. Please let us know if you would like to help us.

    Regards,
    Limagito Team

    By Limagito-Team FTP , ,
  • 07 Jul

    Trigger an email alert when files build up in a folder

    Dear Users,

    We got the following request from a user: ‘Trigger an email alert when files build up in a folder’. Although this isn’t the goal of our file transfer tool we decided to give it a try.

    What we did to achieve this:

    1) Add the Windows Source folder you want to check

    2) Add the following ‘On Rule Begin’ Pascal Script. This script will reset the file counter when the rule is triggered.

    Begin
      psExitCode:= 1;
      // Reset File Counter
      psResetCounter;
    End.
    


    3) Enable ‘Copy Files’ and ‘Preference Order’ in the Function Setup.

    4) Add two destinations. Important, the first destination must be ‘Pascal Script’. The second destination is ‘SMTP’ (email).

    5) Destination Pascal Script. Please adjust the ctMaxFiles constant value that will be used to trigger the email. At the moment this is set to 10 files.

    Const
      ctMaxFiles = 10;
    Begin
      psExitCode:= 1;
      // ... add your code here
      If psCounter = ctMaxFiles then
      Begin
        psLogWrite(1, '', 'Max Files Reached, Counter Value: ' + IntToStr(psCounter));
        psExitCode := 0;
      End;
    End.

    6) Setup the Destination SMTP options. These will be used when sending the email.

    7) The result. Single email event when files build up in a folder.

    If you need any help, do not hesitate to ask. We are here to help.

    Regards,

    Limagito Team

    By Limagito-Team Pascal Script , , ,
  • 30 Jun

    Finally we switched to CopyFileEx API

    Dear Users,

    WIN Destination, switched to CopyFileEx API (v2019.6.30.0) [+]
    Backup, switched to CopyFileEx API (v2019.6.30.0) [+]

    Since version v2019.6.30.0 we are using the CopyFileEx API instead of CopyFile. So the default move/copy method will use this CopyFileEx API.

    This will give you the following advantages:
    – It will show you the progress in the Destination progressbar
    – It will give you the opportunity to cancel the copy/move

    Best Regards,
    Limagito Team

    By Limagito-Team News ,
1 97 98 99 100 101 102 103 134
SEARCH