Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Tom Jordahl #1
Re: CFFile Delete Problem
Is something else on the system touching the file? Is ColdFusion touching
the file before you try to delete it?
--
Tom Jordahl
Macromedia
Tom Jordahl Guest
-
CFFILE Delete, by date
Hello, A site that I built has been moved to a new host and now has a limited amount of disk storage space so I need to be able to delete .mp3... -
cffile delete
:confused; It seems an easy issue but it just does not work. Here is the code: <cffile action="delete" file="d:\InetPub\wwwroot\test.xls"> ... -
cfmail and cffile=delete
I have a problem with trying to send mail with the <cfmail> tag out to a list of emails. I upload attachments onto the server (users choose to... -
CFFILE MOVE and DELETE
:confused; I'm using CFFILE to MOVE and DELETE file on a Windows server, Coldfusion is not installed on this server its a user's working server. ... -
CFFile won't delete files
I have a list of articles in my knowledgebase some of which are totally web based and others are DOC or PDF files.... The admin is allowed to... -
oeustice #2
Re: CFFile Delete Problem
I'm having an similar problem. I have an isolated test case in which I upload
a file by submitting a form to an action page. I then have a separate form on
the same index page that allows me to select and delete files that I have
uploaded.
When I do this, I get an application error that says "Coldfusion was unable to
delete the file [specific path] for an unknown reason"
However, if I restart the Coldfusion application service and reexecute the
page, the delete executes perfectly.
This seems to indicate that CF is somehow "hanging on" to the file once it is
uploaded.
Any help would be greatly appreciated.
Owen
oeustice Guest
-
SSgt P #3
Re: CFFile Delete Problem
Owen,
How's the chow in Baghdad?
My prob was something other than the upload, I'm processing the image to generate a thumbnail and the processor is locking the original file.
K
SSgt P Guest
-
oeustice #4
Re: CFFile Delete Problem
Chow's great. Tonight we had BBQ meatballs and a light salad. Followed by
carrot cake ala mode. War is hell.
I think that we're looking at the same problem. I set up a test page that just
does upload and delete. The upload works fine, but the delete errors out.
However, if I restart the CF Admin service it works like a champ.
I followed the recommendation of another post and verified that the temp
directory doesn't contain a reference to the file. You can check it using
#GetTempDirectory()#.
The temp dir is clean, but it still won' t release the file. I've tried it in
6.1 and 7. Same problem. Very strange. I've used cffile delete in the past and
haven't had this problem. I don't get it.
Keep your head down Sarge.
oeustice Guest
-
oeustice #5
Re: CFFile Delete Problem
:disgust; Bad news. The error is not ColdFusion. It is related to the
CFX_JImage tag. I can upload and delete files all day and night, but as soon as
I process them with the java plugin, bingo.
I'll see if I can figure out a work around. Otherwise, I'll go shopping for
another tag.
oeustice Guest



Reply With Quote

