我通过 Response.Redirect("ftp://user:[email protected]:21/测试文件.exe")为什么找不到该页,如果
文件名不是中文的就可以提示下载,但是我把 ftp://user:[email protected]:21/测试文件.exe 浏览器地址栏输入就可以提示下载,而我在WEBCONFIG是这样的
<globalization
requestEncoding="gb2312"
responseEncoding="gb2312"
/>
文件名不是中文的就可以提示下载,但是我把 ftp://user:[email protected]:21/测试文件.exe 浏览器地址栏输入就可以提示下载,而我在WEBCONFIG是这样的
<globalization
requestEncoding="gb2312"
responseEncoding="gb2312"
/>
比如Response.Redirect("show.aspx?t=" + HttpUtility.UrlEncode("中国"));接收的时候用 t = HttpUtility.UrlDecode(Request.QueryString["t"]);