suin/php-ftp-client — pull request #2 by bigfoot13442 (2013-02-05 11:58:48+00:00)
Title: Fixed a bug in the download and upload

I added $this->_getResponse() after the download and upload. Was having an issue where I was getting empty files and noticed that it was not waiting for the download complete message to come across the stream.
You might want to build a list of failed uploads/downloads or something but this got it working so that I could use it.