This function uses the STAT command to retrieve information about
the specified file. Unlike the FtpGetFirstFileEx and
FtpGetNextFileEx functions, which read through a file list
returned on the data channel, this function reads the result of a
command string. For applications that need information about a
specific file, using this function can be considerably faster than
iterating through all of the files in a given directory. Note that
not all servers support using the command in this way.
On some systems, the STAT command will not return information on
files that contain spaces or tabs in the filename. In this case, the
FTPFILESTATUSEX structure members will be empty strings and zero
values.