
find a file matching a string in an array of FTPFile.
This method will find "alpha" when requested for "ALPHA"
if and only if the caseSensitive attribute is set to false.
When caseSensitive is set to true, only the exact match is returned.
Returns:
null if the file cannot be found, otherwise return the matching file.
Parameters:
-
theFiles - array of files
-
lastpathelement - the file name being sought