User Guide

cfftp: Connection: File and directory operations 141
cfftp: Connection: File and directory operations
Description
Use this form of the cfftp tag to perform file and directory operations with cfftp.
Syntax
<cfftp
action = "action"
username = "name"
password = "password"
name = "query_name"
server = "server"
ASCIIExtensionList = "extensions"
transferMode = "mode"
failIfExists = "Yes" or "No"
directory = "directory name"
localFile = "filename"
remoteFile = "filename"
item = "directory or file"
existing = "file or directory name"
new = "file or directory name"
proxyServer = "proxy server"
passive = "Yes" or "No">
See also
cfhttp, cfldap, cfmail, cfpop
Attributes
Attribute Req/Opt Default Description
action Required if
connection is not
cached
FTP operation to perform.
changedir
createDir
listDir
removeDir
getFile
putFile
rename
remove
getCurrentDir
getCurrentURL
existsDir
existsFile
exists
username Required if
connection is not
cached
User name to pass in the FTP operation.
password Required if
action
= "open"
Password to log in the user.
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.