>If it is a mapping just use the ExpandPath function which will convert a
>relative path into an absolute path.
>
>so just do #ExpandPath("/eStore/images/")# as the attribute and that will
>convert it.
>
>
>J.J.
>
>
>>
How could I debug it to find out what the current default path is? I'm using
Dreamweaver. When I used visual studio with vb I could just watch a variable.
The addProductAction.cfm has this code for the upload
<CFFILE
DESTINATION="#ListDeleteAt(cgi.PATH_TRANSLATED,ListLen(cgi.PATH_TRANSLATED,'/'),'/')#/eStore/images/"
ACTION="UPLOAD"
NAMECONFLICT="OVERWRITE"
FILEFIELD="image">
</cfif>
and the Application.cfm has these settings defined and after clicking the
browse button and selecting a file the input box shows
"C:\Documents and Settings\thines\Desktop\LS.jpg".
So It looks like it's using the upload section since the error message has
/eStore/images/.
from Applicattion.cfm
<!---
************************************************************************--->
<!-- DEPLOYED: <CFPARAM NAME="application.productImageDirectory" TYPE="string"
DEFAULT="/eStore/images/"> -->
<!--
<CFPARAM NAME="application.productImageDirectory" TYPE="string"
DEFAULT="loadingdoc/eStore/images/">
-->
<CFPARAM NAME="application.productImageDirectory" TYPE="string"
DEFAULT="eStore/images/">
<!---
************************************************************************--->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2961
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15