Not sure if this is possible. I did a similar thing a while ago with Coldfusion and managed to beat user writes: what I did was wright the file to a directory you have access to and then copy the file across using a php function. Not sure if it will work.
:->