dg/ftp-php — pull request #2 by webArtisan (2014-02-01 23:28:34+00:00)
Title: Update the fileExists method

The ftp_nlist returns an empty array in case no matching files were found.
Using is_array() will return always true even on an empty array.
But an empty array is considered as a false value, so just cast the ftp_nlist() result to boolean