| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: SQL injection embeded .js file to execute CF hack, ajdove |
|---|---|
| Next by Date: | Re: uploading a file, Azadi |
| Previous by Thread: | How would I add a conditional checkbox to an input field?, NickoSwimmer |
| Next by Thread: | Re: uploading a file, Azadi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |