I need help finding code that can delete text files on the server my program is running from.
I have my program create several empty text files throughout the process of its running, and at some point, I would like the program to delete these automatically. I do not want to have to go through and delete them myself every time someone uses my program.
Is there code for this? I currently use myVars.sendAndLoad to write. Is there an equivalent to delete it?
Flash cannot manage files on a server. You will need to get PHP or some other server-side program doing that for you.