The OpenDirectory method opens the specified directory on
the server so that the list of files in that directory may be read
using the ReadDirectory method.
Once all of the files in the directory have been read, the
application must call the CloseDirectory method in order to
close the data channel to the server. Failure to do this will result
in an error the next time the application attempts to transfer a file
or open another directory.
Note that files and directories on UNIX based systems are case
sensitive, so the directory names "Projects" and
"projects" refer to two different directories. This is not
the case on Windows systems, where either name would refer to the
same directory.