Groups | Blog | Home
all groups > macromedia flash flashcom > april 2005 >

macromedia flash flashcom : Deleting .flv Files


Khuffie
4/5/2005 8:23:30 PM
Hey

I'm writing a ColdFusion application that will handle a number of streaming
formats (flv, wmv, mov, rm) and part of the application will allow users to
upload their own videos to stream, manage them and delete them if required.
I've run into a problem with my 'flv' files.

If the file has been uploaded but NOT streamed yet, I can delete it fine. If
it HAS been streamed, coldfusion outputs the error: ColdFusion could not delete
the file "filelocation" for an unknown reason. I also cannot delete the file
via FTP. I imagine it is related to the problem faced
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=266&thre
adid=802100&highlight_key=y&keyword1=delete&loc=en_us.

Anyone got any ideas?
jdmc
4/8/2005 10:22:56 PM
Sounds like the streaming code may not be releasing all resources attached to
the file. I'm not familiar with Cold Fusion but are you sure you are releasing
the stream (via close or similar call) after playing. This is a common omission
in other programming languages.
AddThis Social Bookmark Button