Macromedia coldfusion 4.5-cfml language reference User Manual
68
CFML Language Reference
NAME
Required for ACTION="ListDir". Specifies the query name to hold the directory
listing. See Usage for more information.
listing. See Usage for more information.
SERVER
Required if the FTP connection is not already cached. If connection caching is
used, the SERVER attribute is not required. The FTP server to connect to.
used, the SERVER attribute is not required. The FTP server to connect to.
TIMEOUT
Optional. Value in seconds for the timeout of all operations, including individual
data request operations. Defaults to 30 seconds.
data request operations. Defaults to 30 seconds.
PORT
Optional. The remote port to connect to. Defaults to 21 for FTP.
CONNECTION
Optional. The name of the FTP connection. Used to cache the current FTP
connection or to reuse connection information from a previous connection of the
same name. All calls to CFFTP with the same connection name will reuse the same
FTP connection information.
connection or to reuse connection information from a previous connection of the
same name. All calls to CFFTP with the same connection name will reuse the same
FTP connection information.
ASCIIEXTENSIONLIST
Optional. A semicolon delimited list of file extensions that force ASCII transfer
mode when TRANSFERMODE="Auto". Default extension list is:
mode when TRANSFERMODE="Auto". Default extension list is:
txt;htm;html;cfm;cfml;shtm;shtml;css;asp;asa
TRANSFERMODE
Optional. The FTP transfer mode you want to use. Valid entries are ASCII, Binary,
or Auto. Defaults to Auto.
or Auto. Defaults to Auto.
FAILIFEXISTS
Optional. Yes or No. Defaults to Yes. Specifies whether a GetFile operation will fail
if a local file of the same name already exists.
if a local file of the same name already exists.
DIRECTORY
Required for ACTION=ChangeDir, CreateDir, ListDir, and ExistsDir. Specifies the
directory on which to perform an operation.
directory on which to perform an operation.
LOCALFILE
Required for ACTION=GetFile, and PutFile. Specifies the name of the file on the
local file system.
local file system.
REMOTEFILE
Required for ACTION=GetFile, PutFile, and ExistsFile. Specifies the name of the
file on the FTP server’s file system.
file on the FTP server’s file system.