anchor.diff:  			<cfset r.msg=vfn>
   			<cfreturn serializeJSON(r)>
   		</cfif>
  -
  -
   
   		<cffile action="move" source="#Application.sandbox#/#tempName#.tmp" destination="#loadPath#/#fileName#" nameConflict="error" mode="644">
   		<cfset media_uri = "#Application.ServerRootUrl#/mediaUploads/#session.username#/#fileName#">
  
positive.code: 	    <cfset r.statusCode=200>
  		<cfset r.filename="#fileName#">
  		<cfset r.media_uri="#media_uri#">
  
  
  
  
  		<cfcatch>
  			<cftry>
  
negative.code: 		<cfset fName=REReplace(fName,"[^A-Za-z0-9_$]","_","all")>
  		<cfset fName=replace(fName,'__','_','all')>
  
  		<cfset fileName=fName & '.' & fext>
  
  		<cfset vfn=isValidMediaUpload(fileName)>
  
  