macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

uploading a file

Subject: uploading a file
From: "newRandomMark" <webforumsuser@xxxxxxxxxxxxxx>
Date: Mon, 28 Jul 2008 19:06:16 +0000 (UTC)
Newsgroups: macromedia.coldfusion.cfml_general_discussion

All,
    Here is my current code:
 [Q]
 <cfif FORM.attachment1 neq "">
        <!--- first actually upload the file --->
        <cffile action="upload"
                  filefield="attachment1"
                 destination="c:\Inetpub\wwwroot\repository\uploads"
                  nameconflict="Makeunique">
 </cfif>
 [/Q]
 I need to change the dynamic to code that is more easily uploaded to the 
server.  This file is in /data and I want to upload the file to 
../repository/uploads.  Anyone tell me how to do this?  
"../repository/uploads/" does not work.


<Prev in Thread] Current Thread [Next in Thread>