Q&A

  • 29 Nov

    Q&A 32: Error during sftp file upload with Limagito File Mover

    Q: We have installed Limagito version v2020.11.21.0 with the Site+ license on a W2K19 server. When we try to transfer files to an external sftp server it doesn’t work out fine (Error during sftp file upload). The SSH connection seems fine to me , but the files won’t be uploaded. Unfortunately the other side can’t help me out and I can’t find out what is happening and why.

    25-11-2020 19:39:31 [SFTP] SFTPUploadFile, CK UploadFileByName Error, ChilkatLog:
     
    [SFTP]   UploadFileByName:
    [SFTP]     DllDate: Jul  2 2020
    [SFTP]     ChilkatVersion: 9.5.0.83
    [SFTP]     UnlockPrefix: CPSFTB.CB1062022
    [SFTP]     Architecture: Little Endian; 64-bit
    [SFTP]     Language: Delphi DLL
    [SFTP]     VerboseLogging: 0
    [SFTP]     SshVersion: SSH-2.0-XpertSuite
    [SFTP]     SftpVersion: 4
    [SFTP]     Component successfully unlocked using purchased unlock code.
    [SFTP]     uploadFileByName:
    [SFTP]       remoteFilePath: /XX/XX_2020-11-24_08-00-00-werknemers.xml
    [SFTP]       localFilePath: \\MyDomain\proces\XX_2020-11-24_08-00-00-werknemers.xml
    [SFTP]       localFileSize: 4485
    [SFTP]       sftpOpenFile:
    [SFTP]         remotePath: /XX/XX_2020-11-24_08-00-00-werknemers.xml
    [SFTP]         access: writeOnly
    [SFTP]         createDisposition: createTruncate
    [SFTP]         v3Flags: 0x1a
    [SFTP]         buildLongPath_xFilePath: \\MyDomain\proces\XX_2020-11-24_08-00-00-werknemers.xml
    [SFTP]         Sent FXP_OPEN
    [SFTP]         StatusResponseFromServer:
    [SFTP]           Request: FXP_OPEN
    [SFTP]           InformationReceivedFromServer:
    [SFTP]             StatusCode: 5
    [SFTP]             StatusMessage: Error while parsing request.
    [SFTP]           --InformationReceivedFromServer
    [SFTP]         --StatusResponseFromServer
    [SFTP]       --sftpOpenFile
    [SFTP]       Failed to open file.
    [SFTP]     --uploadFileByName
    [SFTP]     Failed.
    [SFTP]   --UploadFileByName
    [SFTP] --ChilkatLog
     
    25-11-2020 19:39:31 [SFTPPUT] Copy Error \\MyDomain\proces\XX_2020-11-24_08-00-00-werknemers.xml

    A: It’s look like the SFTP server is trying to use SFTP Version v4 but .. not correctly. The solution here is to only allow SFTP Version v3.

    FYI: The customer is using our Second SFTP Vendor (CK).

    Limagito File Mover SFTP v3 Only

    Feedback from customer:

    Great !! that did the trick. J J J

    Thanks for your support  !!!

     

    If you need any help with this ‘Error during sftp file upload’, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Error Q&A SFTP , ,
  • 15 Nov

    Q&A 30: I only want to email the latest run time log

    Q: I only want to have email the latest run time. We are trying to come up with a standard email notification format, and we just could not figure out to set up email body as we want. What I would like to want is to have email only to show the result of the latest action.

    A: We are going to use a small Pascal Script to achieve this. Please have a look at the following screenshots.

    Open the Pascal Script Setup of this Rule:

    • Enable ‘On Rule Begin’
    • Add the following ‘On Rule Begin’ Script. Function psRTLog will clear the RunTime Log.
    Begin
      psExitCode:= 1;
      // ... add your code here
      psResetRTLog;
    End.

    Limagito File Mover Reset RunTime Log

    In your email setup you can use  %LRT  (%LRT = Log RunTime) to show the RunTime Log content:

    Limagito File Mover Email Setup

    We decided to make it even easier in our latest version and added an alternative to using Pascal Script. This new build will be available soon.

    Limagito File Mover Clear Log at Rule Begin

    If you need any help with our ‘Clear Log at Rule Begin’ option, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Logging Q&A , , ,
  • 03 Nov

    Q&A 29: Is it possible to split out Page 1&2 of a PDF

    Q: Is it possible to split out Page 1&2 of a PDF, rename it and move it to a location but also rename the rest of the PDF and move that to a different location?

    A: Yes this is possible. We’ve added a couple of screenshits to get you started.

    >Add PDF as Destination:

    Limagito File Mover PDF as Destination

    > You’ll need to add 2 PDF Actions. The first Action will split the first 2 pdf files to the output directory.

    Limagito File Mover PDF as Destination Setup

    Limagito File Mover PDF output action setup

    >The second Action will output all pages, except the first and second, to a single pdf file in the output directory.

    Limagito File Mover PDF as Destination setup

    Limagito File Mover PDF Output Action Setup

    >Optionally you can rename the output pdf files:

    Limagito File Mover PDF rename option

    > We renamed IntroXFM to Output in our example:

    Limagito File Mover PDF rename setup

    > The source is a WIN directory. It contains a multipage pdf file called IntroXFM.pdf.

    Limagito File Mover PDF source files

    > The result in the output directory:

    Limagito File Mover PDF destination files

    • Output.01.pdf contains the first pdf page from multipage pdf source file
    • Output.02.pdf contains the second pdf page from multipage pdf source file
    • Output.pdf contains all pdf pages from multipage pdf source file except first and second

    > RunTime Log result:

    Limagito File Mover PDF RunTime log

    If you need any help with the PDF as Destination option, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team PDF Q&A ,
1 2 3 4 5 6 7 8 16
SEARCH