CFFTP error 425 can't build data connection
I'm trying to have my script connect to an offsite FTP server using CFFTP tag.
So far every CFFTP tag I use appears to fail with the possible exception of the action="open".
The error I get is 425: Can't build data connection: No route to host.
I can ftp using a telnet session from the same server just fine. This is with CF8 on a Sun workstation as server (Unix).
I have tried with and without a proxy server.
I have tried with passive mode = yes and no. When no the error occurs quickly. When yes it takes about 30 seconds or more to tell me the same error.
I have tried action = listdir and existfile and no success. I have verified the directory specified on the remote server is valid.
I have made sure the Enable ColdFusion Security checkbox is checked. I have no idea if anything needs to be done with the sandbox stuff in the lower part of that form.
I'm totally stumped here. My code is this:
<cfftp connection="Myftp"
action="Open"
server="xxxxx"
username="anonymous"
password="xxxxx"
passive="yes"
stoponerror="Yes">
<cfftp connection=Myftp
action="GetCurrentDir"
stoponerror="Yes">
<!--- Get the current directory name --->
<cfftp connection="Myftp"
action="listdir"
directory="#cfftp.returnvalue#"
name="dirlist"
stoponerror="Yes">
It fails on the last line above. What should I try?
What other common roadblocks can cause this?
