MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference page 89

Cfml language reference
Table of Contents

Advertisement

Chapter 1: ColdFusion Tags
RETRYCOUNT
Optional. Number of retries until failure is reported. Default is one (1).
STOPONERROR
Optional. Yes or No. When Yes, halts all processing and displays an appropriate
error. Default is Yes.
When No, three variables are populated:
CFFTP .Succeeded – Yes or No.
CFFTP.ErrorCode – Error number
CFFTP.ErrorText – Message text explaining error type
PASSIVE
Optional. Boolean indicating whether to enable passive mode. By default, passive
mode is disabled.
Example
<!--- This view-only example shows the use of CFFTP --->
<HTML>
<HEAD>
<TITLE>CFFTP Example</TITLE>
</HEAD>
<BODY>
<H3>CFFTP Example</H3>
<P>CFFTP allows users to implement File Transfer Protocol
operations.
an FTP server.
<P>CFFTP operations are usually of two types:
<UL>
<LI>Establishing a connection
<LI>Performing file and directory operations
</UL>
<P>This view-only example opens and verifies a connection,
lists the files in a directory, and closes the connection.
<!---
<P>Open a connection
<CFFTP ACTION="open"
USERNAME="anonymous"
CONNECTION="My_query"
PASSWORD="youremail@email.net"
SERVER="ftp.tucows.com"
STOPONERROR="Yes">
<P>Did it succeed? <CFOUTPUT>#CFFTP.Succeeded#</CFOUTPUT>
<P>List the files in a directory:
<CFFTP ACTION="LISTDIR"
By default, CFFTP caches an open connection to
STOPONERROR="Yes"
NAME="ListFiles"
DIRECTORY="lib"
65

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 4.5

Table of Contents