I'm having a problem getting CFFTP to work on a shared server. The code works on my localhost, but when I post it to the host Intermedia I get an error. I want to grab a file on a remote server using ftp. Code and error message follow my sig.
Thanks,
Marc Garrett
Code:
<cfftp
action="GETFILE"
username="myUsername"
password="myPassword"
server="216.111.12.157"
directory="Database/"
remotefile="Cities.txt"
localfile="D:\FTP\Forrest6\Htdocs\Cities.txt"
transfermode="ASCII">
Error message:
Attribute set validation error in tag CFFTP
The tag has an invalid attribute combination: the value of the tag switch attribute 'ACTION' which is now 'GETFILE' requires a different combination of attributes. For the same switch attribute value the following unknown attributes have been provided: (DIRECTORY).
The error occurred while processing an element with a general identifier of (CFFTP), occupying document position (16:1) to (16:201).
Thanks,
Marc Garrett
Code:
<cfftp
action="GETFILE"
username="myUsername"
password="myPassword"
server="216.111.12.157"
directory="Database/"
remotefile="Cities.txt"
localfile="D:\FTP\Forrest6\Htdocs\Cities.txt"
transfermode="ASCII">
Error message:
Attribute set validation error in tag CFFTP
The tag has an invalid attribute combination: the value of the tag switch attribute 'ACTION' which is now 'GETFILE' requires a different combination of attributes. For the same switch attribute value the following unknown attributes have been provided: (DIRECTORY).
The error occurred while processing an element with a general identifier of (CFFTP), occupying document position (16:1) to (16:201).