Thanks, I got it figured out. Andrew was right on, I did not need <cfoutput>
inside the <cffile> tag. 

FYI, there are no drive letters in Linux, that is the full path.

Marwan Saidi
Webmaster
CED - Concord Mangement

-----Original Message-----
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 4:09 PM
To: CF-Talk
Subject: RE: CFFILE problems - Can't delete?


you MUST specify a FULL PATH, beginning with the drive letter, to use
CFFILE.

                                                    
Bryan Love ACP
Internet Application Developer
[EMAIL PROTECTED]
                                                    


-----Original Message-----
From: Saidi; Marwan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 10:46 AM
To: CF-Talk
Subject: CFFILE problems - Can't delete?


Hello all,

I am running CF Pro 4.5.1 SP 2 on RedHat 6.2. Using CFFILE, I can upload
files with no problems. However, if I try to delete them, I get this error:
~~~
Error processing CFFILE

Unable to delete the file '/home/httpd/html/assets/opsfiles/testimage2.gif.'
No such file or directory
~~~

The file does exist, and the path is correct. File permissions for this
directory are 777. I'm perplexed. 

Here is the code:

<cffile action="DELETE"
file="/home/httpd/html/assets/opsfiles/<cfoutput>#attributes.filename#</cfou
tput>">

Any ideas?

TIA,

Marwan Saidi


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to