Hi Anonymous Monk,
I did try your code, but its still not working.
To answer your Q on how to check if its appending or not, I have a sleep command after opening the file for appending. Within that sleep, if i check the contents of the file, all contents are vanished! and it continues to write as if to a new file after the append statement.
Any help.
Thanks,