well, as there are no other takers...
if you open file handle 1 for writing, you should write to that handle and not to handle 3, which you didn't open.
_________________________
!

download KiXnet