Skip to main content
Inspiring
April 13, 2015
Question

Coldfusion 10 CFFTP Problems

  • April 13, 2015
  • 2 replies
  • 839 views

I am trying to simply open a connection output if it succeeded and close the connection. The page I have works fine in CF9 but in CF10 hitting the same server with the same credentials stalls the page out. It doesn't error out or timeout it just sits there forever loading the page and never finishes connecting.

I have tried an sftp client other than coldfusion from the same server with the same credentials and it works fine. When I look at the SFTP logs it shows that coldfusion connected but it is not authenticating and completing the connection.

Did something change with CFFTP in Coldfusion 10 that I missed? Any thoughts or suggestions to get this working?

Here is what the page has on it.

<cfftp action = "open"

server = "server"

stoponerror="yes"

username = "user"

password = "pass"

connection = "sftptest"

secure = "yes">

<cfoutput> Connection Open :#cfftp.succeeded# </cfoutput>

        

<cfftp connection = "sftptest"

    action = "close"

    stopOnError = "yes">

This topic has been closed for replies.

2 replies

BKBK
Community Expert
Community Expert
May 2, 2015

What happens when you use just

<cfftp action = "open"

server = "server"

stoponerror="yes"

username = "user"

password = "pass"

connection = "sftptest">

EddieLotter
Inspiring
April 22, 2015

Have you looked at the various ColdFusion logs?

You may well see something that gives you a clue as to what is happening.

Cheers

Eddie