Esempio n. 1
0
        private void m_btnRemoteEnter_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            if (m_sLastFile.Length == 0)
            {
                return;
            }

            if (!m_bLastFileIsFolder)
            {
                return;
            }

            if (m_ftpc.WorkingDirectory.Length == 0)
            {
                return;
            }

            string sPath = m_ftpc.WorkingDirectory;

            sPath += m_sLastFile;
            sPath += m_ftpc.BackSlashInPath;

            SetLastFile("", false);

            RscFtpClientCommand cmd = RscFtpClientCommand.ChangeWorkingDirecory(sPath);

            _Log("21", cmd.ToString());

            m_ftpc.SendCommandToServer(cmd);
        }