just trying to make it to where i dont need to change it between my machine and the server. As obviously u need to do
Dave ----- Original Message ----- From: "Ben Doom" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, February 14, 2003 3:26 PM Subject: RE: a different cffile upload ? > I believe that destination is a local filesystem path, so something like > c:\inetpub\wwwroot\sitename\subdir\filename.jpg > > If you need to find that location dynamically, you can use something like > GetDirectoryFromPath(GetCurrentTemplatePath()) to get the absolute local > filesystem path to the calling template. > > HTH. > > > -- Ben Doom > Programmer & General Lackey > Moonbow Software, Inc > > : -----Original Message----- > : From: Dave Lyons [mailto:[EMAIL PROTECTED]] > : Sent: Friday, February 14, 2003 3:22 PM > : To: CF-Talk > : Subject: a different cffile upload ? > : > : > : trying to simply the transition between development comp and > : server, can I use this: > : > : <cffile > : action="upload" > : filefield="imagefile" > : destination="http://#CGI_Server_Name#/uploads/filename.jpg" > : nameConflict="overwrite"> > : > : > : or do i have to specify the destination specifically like so: > : > : <cffile > : action="upload" > : filefield="imagefile" > : destination="path/filename.jpg" > : nameConflict="overwrite"> > : > : > : dave > : <!--- doesnt know jack about cfm ---> > : > : > : > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

