When you get this message it means that this command:
$res = @ftp_put($this->_ftphandle, $realname, $sourceName, FTP_BINARY);
has failed. When the error message is produced we have established that $sourceName is a readable file, so there's no question whether that files exists. We not, however, told why the upload failed, this is a limitation of PHP. I do however see this time discrepancy:
DEBUG |131216 20:15:10| Adding installation/angie/language/et-EE.ini; Next offset:164960
ERROR |131216 20:16:40|Uploading installation/angie/language/et-EE.ini has failed.
PHP is trying to upload a file of 10Kb for 90 seconds. As you are on the same server there is no way it can possibly take that long. It's also impossible that you have a networking issue (the network isn't used on loopback connections). This leaves us with the only possible reason: the FTP server, for some reason, doesn't respond.
If that file was uploaded on your server, your FTP server didn't send a 2xx successful response back to PHP. As a result PHP doesn't know if the upload succeeded, which is why the transfer wizard fails.
If that file wasn't uploaded on your server, your FTP server didn't send a failure response back to PHP. As a result PHP doesn't know if the upload failed, which is why the transfer wizard fails.
Both of these conditions occur inside the remote FTP server software. There's nothing I can do in my code to prevent, detect or work around it.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!