C#文档管理系统使用ftp

1:本地驱动器是CDEFG盘,而软件combobox显示多了个H盘,怎么只显示CDEFG盘
2:此软件需要自己输入主机 ftp用户名 ftp密码怎么修改默认连接(把确定的主机用户名密码写入程序,打开就显示连接状态)
3:ftp服务器不能正确显示中文(乱码),怎么修改base.class
4:想加个功能:可以对文件或文件夹上锁,禁止访问

(1)加上一个判断
driverinfo.DriverType == FixedDriver //你查下,记不得了

(2)http://www.cnblogs.com/wang726zq/archive/2012/07/30/ftp.html
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri("ftp://" + ftpServerIP + "/" + fileName));
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
这里可以作为参数传进去

(3)看你的服务器的编码

(4)不知道什么意思,对本地文件还是服务器的文件。加上一个数据库,保存特定文件路径,程序中加以判断。

private void toolStripComboBox1_SelectedIndexChanged(object sender, EventArgs e) { bc.GetPath(toolStripComboBox1.Text, imageList1, listView1, 0); }
public void GetPath(string path, ImageList imglist, ListView lv,int ppath)//-------
{

            string pp = "";
            string uu = "";
            if (ppath == 0)
            {
                if (AllPath != path)
                {
                    lv.Items.Clear();
                    AllPath = path;
                    GetListViewItem(AllPath, imglist, lv);
                }
            }
            else
            {
                uu = AllPath + path;
                if (Directory.Exists(uu))
                {
                    AllPath = AllPath + path + "\\";
                    pp = AllPath.Substring(0, AllPath.Length-1);
                    lv.Items.Clear();
                    GetListViewItem(pp, imglist, lv);
                }
                else
                {
                    uu = AllPath + path;
                    System.Diagnostics.Process.Start(uu);
                }
            }
    }
            问题一好像就这两个相关的,不知道加在哪里