expandPath()? http://livedocs.adobe.com/coldfusion/7/htmldocs/00000460.htm
On Nov 16, 2007 10:06 AM, Richard White <[EMAIL PROTECTED]> wrote: > hi, > > i am creating an upload facility using the cffile tag. > > from all i have read it seems that the destination attribute needs to have > the full address to where the file will be saved to. however i want to > specify that it goes into a file on the wwwroot without specifying the full > address e.g. ("C:\ColdFusion8\wwwroot\appName\tempUploads") > > This would obviously be different if i were uploading it onto our web server. > usually referencing files i would simply put ("../tempUploads") so is there > anyway i can get it to still do this, without knowing the full path of where > it needs to be stored > > thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293491 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4