/// <summary>
        /// return the directory info of a file or folder.
        /// </summary>
        /// <param name="InFileName"></param>
        /// <returns></returns>
        public FtpDirEntry GetFileInfo(string InFileName)
        {
            FtpDirEntry info     = null;
            AcFileType  fileType = AcFileType.None;

            if (Pather.IsDirectoryName(InFileName) == true)
            {
                fileType = AcFileType.Folder;
            }
            else
            {
                fileType = AcFileType.File;
            }

            info = GetFileInfo(InFileName, fileType);

            return(info);
        }
        /// <summary>
        /// returns the last change date of file or folder.
        /// </summary>
        /// <param name="InFileName"></param>
        /// <returns></returns>
        public DateTime GetChangeDateTime(string InFileName)
        {
            DateTime chgDttm = new DateTime(1, 1, 1);

            string fileName = InFileName;

            if (Pather.IsDirectoryName(fileName) == true)
            {
                fileName = fileName + "*";
            }

            FtpResponse_DirList dl = this.GetDirList(fileName);

            foreach (FtpDirEntry de in dl.RcvdDirList)
            {
                if (de.EntryName.ToLower( ) == InFileName.ToLower( ))
                {
                    chgDttm = de.ChgDateTime;
                    break;
                }
            }

            return(chgDttm);
        }