# Delete files on disk using FileReference

**URL:** <https://forum.kirupa.com/t/delete-files-on-disk-using-filereference/211718>\
**Category:** Uncategorized\
**Created:** [January 4, 2007, 3:16pm UTC](https://forum.kirupa.com/t/delete-files-on-disk-using-filereference/211718 "2007-01-04T15:16:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ikaplan](https://avatars.discourse-cdn.com/v4/letter/i/ba8739/32.png) [@ikaplan](https://forum.kirupa.com/u/ikaplan)\
**Post date:** [January 4, 2007, 3:16pm UTC](https://forum.kirupa.com/t/delete-files-on-disk-using-filereference/211718/1 "2007-01-04T15:16:32Z")

</div>

Hi,  
Has anyone been successful with deleting files on a disk using the FileReference class? I can’t find any documentation indicating this is possible, but i saw this done at [www.tinywebgallery.com](http://www.tinywebgallery.com) and was wondering how he accomplished it.

Basically, want user to select a fileReferenceList index and then have that selected file deleted once the delete button is pressed.

Any help at all would be appreciated.
