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
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to