dark0n3: I have to play with this some more, but it could be how io handles .message, cuz I don't think I have this problem with my .ioFTPD.log file when updating it. And yes, I use LockFile()
caladan: It's a coincidence that project-zs and ioZS had the same m3u creation bug. But don't worry dude, I'm not stealing any of your copy/pasted code. The only thing borrowed is the dizreader functions from the original project-zs code. As for my file io problems, I can't use anything from project-zs, as I'm using Win32 API calls (CreateFile, WriteFile, ReadFile), not stdio functions.