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
Copy link to clipboard
Copied
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.
^_^