On 04/08/11 10:53, Mark Rogers wrote:
I'm not sure if this is a PHP issue (specifically with the FTP wrappers to fopen/fclose), or a generic FTP issue, or a problem specific to Pure-FTPd. I have however tried to two different servers running very different versions of Pure-FTPd with the same effects.
The clue seems to be PHP version; my server is on Ubuntu 8.04, which means PHP 5.2.6.
Upgrading to 5.3 using the dotdeb repos seems to have fixed this (and broke loads of other things.... oops!)
Still seems slightly odd that I can't find any references on Google to this, but if anyone else goes looking there's this one for them to find now :-)
(Why still have an 8.04 server? Well if it helps, the whole point of the PHP script was to export data to a newer server....)