roboticus
Yes, I can download from the directory with an FTP client and yes, your script executed and reported that the file is writable. I ran your script from the command line as well as from the web browser. I also ran my script from the command line instead of from the browser and still get the error message that it can't open the file.