I have code to check for the existence of a file which work fine in CF 4.0
but only always returns a 'NO' in CF 4.5.
Has anyone else encountered this problem and/or could offer some advise?
<CFSET CFFTP.ReturnValue = "NO">
<CFSET sDirQTROper = #sDir#&'QtrOper\MPC\'&#client.PlanID#&'.pdf'>
<CFFTP CONNECTION="FTP" ACTION="EXISTS" FAILIFEXISTS="No"
ITEM="#sDirQTROper#" STOPONERROR="No">
<CFIF CFFTP.ReturnValue EQ "YES">
....
Thanks
Jan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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