Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Help with Cfftp connection

Explorer ,
Apr 25, 2013 Apr 25, 2013

Hi

I am trying to establish a ftp connection using cfftp tag

my code is

<cfftp connection = "myConnection"

    username = "abc"

    password = "xyx"

    server = "server address"

passive = "yes"

    action = "open"

    stopOnError = "Yes">

<cfoutput>#CFFTP.Succeeded#</cfoutput>

But i am getting the following error :

The cause of this exception was that: java.net.UnknownHostException:server address

kindly advice

Thanks

457
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 25, 2013 Apr 25, 2013
LATEST

Place <CFTRY> before the CFFTP tag, and <CFCATCH><CFDUMP var="#cfcatch#"></CFCATCH></CFTRY> after the CFOUTPUT tags.  You should see the error message, if there is one.

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources