User Guide

cfftp: Connection: File and directory operations 175
name Required if action
= "listDir"
Query name of directory listing.
server Required if FTP
connection is not
cached
FTP server to which to connect; for example,
ftp.myserver.com.
ASCIIExtension
List
Optional txt;htm;html;
cfm;cfml;
shtm;shtml;
css;asp;asa
Delimited list of file extensions that force ASCII
transfer mode, if
transferMode = "auto".
transferMode Optional Auto ASCII FTP transfer mode
Binary FTP transfer mode
Auto FTP transfer mode
failIfExists Optional yes yes: if a local file with same name exists, the
getFile action will fail.
no
directory Required if
action
= "changedir"
,
"createDir",
"listDir", or
"existsDir"
Directory on which to perform an operation.
localFile Required if
action
= "getFile"
or
"putFile"
Name of the file on the local file system.
remoteFile Required if
action
= "getFile"
,
"putFile", or
"existsFile"
Name of the file on the FTP server file system.
item Required if
action
= "exists"
or
"remove"
Object of these actions: file or directory.
existing Required if
action
= "rename"
Current name of the file or directory on the
remote server.
new Required if
action
= "rename"
New name of file or directory on the remote
server.
proxyServer Optional String. Name of the proxy server (s) to use, if
proxy access is specified.
passive Optional no yes: enables passive mode.
no
result Optional Specifies a name for the structure in which
cfftp stores the
returnValue variable. If set, this
value replaces
cfftp as the prefix to use when
accessing
returnVariable. See the Usage
section for more information
Attribute Req/Opt Default Description