I'm using GWT and Restlet 1.1-SNAPSHOT. My server provides a Directory, from which I can GET a text file and display it in an editable TextArea in the browser. I have a button that should PUT the modified contents back to the server but the PUT fails on the server with:

        WARNING: Unable to delete the existing file

This comes from line 828 in FileClientHelper. In line 780 tmp.exists() is true, but file.delete() returns false. Since this goes into native code I'm unable to determine why the delete fails.

I've done setModifiable(true) on my Directory. Any pointers on why this might be failing?

Thanks,

-jeff

Reply via email to