This example shows an FTP connection being opened to a server that requires a username and password.
<CFFTP CONNECTION=FTP
USERNAME="betauser"
PASSWORD="monroe"
SERVER="beta.company.com"
ACTION="Open"
STOPONERROR="No">
Since the USERNAME and PASSWORD attributes are required for CFFTP, you establish an anonymous connection by entering "anonymous" as the username and an email address (by convention) for the password.
|