send in the code (with the username and password attributes set to blank for
security)


<cfftp connection="up1" username="XXXX" password="XXXXX" server="XXX.XXX.XXX" 
action="Open" stoponerror="no">

<cfftp connection="up1" 
action="PUTFILE" 
localfile="#Attributes.DestDir##Attributes.UploadFile#" 
remotefile="/home/sites/home/web/external/#theuploadfile#" 
transfermode="BINARY"
failifexists="no">


<cfftp connection="up1" action="close" StopOnError="Yes">

<cfif #CFFTP.ErrorCode# is "0">
<p>Put<p>
<cfelse>
<cfoutput>
#CFFTP.ErrorCode#<p>
#CFFTP.ErrorText#<p>
</cfoutput>
</cfif>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to