SFTP Settings

Clovertech Forums Cloverleaf SFTP Settings

  • Creator
    Topic
  • #122468
    Jeff Anderson
    Participant

      Has anyone ever run into an issue where you can send a file to a vendor via curl, but cannot get the settings on the CL tab to work?

      The following command lines work (a couple of diff ways):

      curl -v -k sftp://vendorip/dropFolder/file.hl7 –user “userid” -T file.hl7
      curl -v -k –upload-file file.hl7 sftp://vendorip/dropfolder/file.hl7 –user “userid”

      I can’t for the life of me get CL to work. I’ve opened a ticket with Infor and they are stumped as well. Any thoughts would be greatly appreciated.

      On the FTP protocol tab I’ve got the user/password set. The outbound directory set. The style set to hl7 with the append data unchecked, and the host/port set up.

      I have dozens of ftp’s working and this is the only one that is giving me fits.

      Thank you in advance!

      Jeff

    Viewing 1 reply thread
    • Author
      Replies
      • #122469
        Jim Kosloskey
        Participant

          Have you tried turning the noise level up (verbose) on the protocol to see if anything informative shows up in the log?

          email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 61 years IT – old fart.

        • #122472
          Ib H
          Participant

            Hello,

            I would sugges setting CURLOPT_VERBOSE to 1 in the cURL Options to make the logging more verbose as suggested.
            Also to emulate the -k option for curl, try setting these 2 also :
            CURLOPT_SSL_VERIFYHOST to 1
            CURLOPT_SSL_VERIFYPEER to 1
            Mind that this will be less secure.

            Also check the ciphers on the destination and Cloverleaf and see if they match.
            We have had some challenges with connection to servers where ciphers on the destination were newer/more secure than
            the ciphers available on Cloverleaf 6.2

            Yours sincerely

            Ib Højme

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.