Пример #1
0
        void FileUnZip()
        {
            string strServer = Request.Form["tip"];

            if (strServer == null || (strServer = strServer.Trim()) == string.Empty)
            {
                strServer = "127.0.0.1";
            }
            string zipfile = Request.Form["dir"];

            if (string.IsNullOrEmpty(zipfile))
            {
                Response.Write("错误:未提交参数");
                return;
            }

            string result = TaskClient.FileUnZip(strServer, 23244, zipfile, null);

            Response.Write(result);
        }