Originally Posted By: Lonkero
hmm... wonder if that actually re-creates the file instead of just emptying it...



Hmmmm....interesting.

I did some testing and it looks like it actually empties the file. Regular users do not have write permissions in the folder but do have write permissions on the file. Creation date and time stays the same. I do not see the file being deleted when I place some sleeps in the code. It just results in an empty file.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.