Question
uploading a file
All,
Here is my current code:
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.
Here is my current code:
quote:
<cfif FORM.attachment1 neq "">
<!--- first actually upload the file --->
<cffile action="upload"
filefield="attachment1"
destination="c:\Inetpub\wwwroot\repository\uploads"
nameconflict="Makeunique">
</cfif>
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.
