« Back To Articles List

Deleting an FLV without using server side code

Graeme Bull - Oct 22, 2004

OK, here it is then. How to delete an FLV file off of a Flash Communication Server without using server side code at all. Just client side. This came up in the last Peldi's coding cafe a few hours ago. Peldi was showing all how to build a video recording app and had an FLV deleting function that he said must be on the server. When he asked everyone why they think it should be on the server, they all responded that the only way to delete an FLV is to do it with server side code. I responded that you can do it client side.. and hence, a tutorial on how to delete it client side because nobody believed me :)

Here's the link to the recorded tutorial, it's about 2mb and about 3 to 4 mins I think.

I didn't want to tune it too much to the veteran crowd and hope that the description in there helps others a bit less experienced in FCS apps. It's not a huge app, tiny really.. but it works :D If the explanation seems a bit redundant to you, just fast forward to near the end.

In the end... the theory is that when there is nothing in an flv file, it doesn't get created. That's why this method works.