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

Help with Cfftp connection

Explorer ,
Apr 25, 2013 Apr 25, 2013

Copy link to clipboard

Copied

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

Views

445

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

^_^

Votes

Translate

Translate

Report

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
Documentation