However i tried this on my win2k NTFS and i tried it on a online webserver of mine, to be sure it was the script or my system.. cuase everthing should work fine.
After all besides not having the permission set to write on the webserver it worked fine ( gave me back the response that it can not write
so i guess it something with my NTFS