Skip to main content
Participating Frequently
February 14, 2018
Answered

CFFTP SFTP

  • February 14, 2018
  • 2 replies
  • 3471 views

82 Algorithm negotiation fail.

I'm able to connect to the client using WinSCP, however I get this error when using ColdFusion 11.  Anyone else running into this?

Simple code, using the credentials that work via WinSCP

<cfftp action="open"

port="22"

username="#username#" 

connection="test_connection" 

password="#password#" 

fingerprint="#fingerprint#" 

server="#server#" 

secure="true"

>

    This topic has been closed for replies.
    Correct answer Wilgeno

    I wonder if this is known "bug" in ColdFusion 11 could be the answer? There is a fix that has not yet been released. But you can manually fix it yourself. See this bug report: https://tracker.adobe.com/#/view/CF-4014234

    The fix is to get the developer edition of ColdFusion 2016 and install it somewhere. Anywhere works. Then copy from the ColdFusion2016/cfusion/lib folder this file "jsch-0.1.52m." to your ColdFusion11/cfusion(or proper instance name)/lib folder and remove the old version of that file. Then Restart ColdFusion 11.

    You'll should be able to make secure FTP connections.

    2 replies

    WilgenoCorrect answer
    Participating Frequently
    February 14, 2018

    I wonder if this is known "bug" in ColdFusion 11 could be the answer? There is a fix that has not yet been released. But you can manually fix it yourself. See this bug report: https://tracker.adobe.com/#/view/CF-4014234

    The fix is to get the developer edition of ColdFusion 2016 and install it somewhere. Anywhere works. Then copy from the ColdFusion2016/cfusion/lib folder this file "jsch-0.1.52m." to your ColdFusion11/cfusion(or proper instance name)/lib folder and remove the old version of that file. Then Restart ColdFusion 11.

    You'll should be able to make secure FTP connections.

    JC_BHSAuthor
    Participating Frequently
    February 15, 2018

    That fixed it for me.  Thank you!

    Community Expert
    February 14, 2018

    Here's a possible solution:

    Brien Malone's Tech Blog: ColdFusion sFTP and ZLIB

    Dave Watts, CTO, Fig Leaf Software

    Dave Watts, Eidolon LLC
    JC_BHSAuthor
    Participating Frequently
    February 14, 2018

    I was unable to find the jzlib.jar file on the website provided by Brien.