I have files on two different servers. The script is situated on original server, the file I am receiving on 'site.com'. I can view the situation on both servers using an ftp client. I start with no file on original server then run the script. I then take a look on the original server and find the file has been created, but that it is empty.
If thre's a step that I am missing (I used the Cookbook as a basis for this) I'd be grateful for the help.