I am using FTPConnection object and command :
{
if (ftp.Exists("images")) MessageBox.Show("Directory exist");
}
catch (FTPException exep)
{
MessageBox.Show(exep.Message);
}
When directory "images" is on the server then is Throwed the FTPException with message : Unable to determine if 'image' file exist.