Ejemplo n.º 1
0
        public override FtpResponse ChangeDirectory(string InDirName)
        {
            FtpResponse resp = null;

            resp = base.ChangeDirectory(InDirName);

            // update the current working directory.
            if (InDirName == "..")
            {
                mCurrentPath.RemoveTail();
            }
            else
            {
                mCurrentPath.AppendTail(InDirName);
            }

            return(resp);
        }