sfFTPLib.FTPItems

I am updateing old code and it appears that the sfFTPLib.FTPItems.Type is no longer avaiable. So what is the replacement? here is the old snipet of code
 
 
FTPItems items = _ftp.Items;
foreach (FTPItem objItem in items)
  {
   if (objItem.Type == enumItemType.ftpItemTypeRegular)
     {
       if (util.WildcardMatch((string)objItem.Name, FileMask, true))
         {
         al.Add((string)objItem.Name);
         }
     }
  }
 

The Type member is still available (see sfFTPLib.idl). Maybe Type has been been renamed to "type" by the tlb importer.
What error do you get?

Figured it out there are item and items
 
 
sfFTPLib.FTPItems items;
items = _ftp.ReadDirectory();
 
foreach (sfFTPLib.FTPItem i in items)
{
  if (i.Type == enumItemType.ftpItemTypeRegular)
    {
    if (util.WildcardMatch((string)i.Name, FileMask, true))
      {
      al.Add((string)i.Name);
      }
    }
}