<cfif isdefined("FORM.Submit") and FORM.myFile is not "">
<!--- server one path --->
<cfset dest = "C:\Inetpub\[URL unfurl="true"]wwwroot\abc\Images">[/URL]
<!--- server two path --->
<cfset copyDest = "C:\Inetpub\abc\testingUploadIMGs">
<cftry>
<cffile action="upload" filefield="myFile" destination="#dest#" nameconflict="overwrite" accept="jpg/*">
<cfset filename = serverFileName & "." & serverFileExt>
<cfcatch type="any">
<cfdump var="#cfcatch#" label="UPLOAD">
</cfcatch>
</cftry>
<cfset dest_FullPathName = "#dest#\#filename#">
<cftry>
<cfftp connection="IMGUpload" action="open" username="user@111.11.111.11" password="pw" server="111.11.111.11" passive="yes">
<cfif CFFTP.Succeeded>
<cfftp connection="IMGUpload" action="putfile" localfile="#dest_FullPathName#" remotefile="#copyDest#" transfermode="auto" passive="yes">
<cfelse>
<cfoutput>#CFFTP.ErrorText#</cfoutput>
<cfabort>
</cfif>
<cfftp connection="IMGUpload" action="close" server="111.11.111.11" passive="yes">
<cfcatch type="any">
<cfdump var="#cfcatch#" label="FTP">
</cfcatch>
</cftry>
<cfelse>
error
</cfif>