Code
FtpWebRequest request = (FtpWebRequest)WebRequest.Create(string.Format("{0}{1}", URL, node.ChildNodes[i].ChildNodes[0].InnerText));
request.Method = WebRequestMethods.Ftp.DownloadFile;
request.Credentials = new NetworkCredential("wususu", "wususu");
FtpWebResponse response = (FtpWebResponse)request.GetResponse();
Stream responseStream = response.GetResponseStream();
StreamReader red = new StreamReader(responseStream,Encoding.Unicode);
string tmp = red.ReadToEnd();
byte[] mbyte = Encoding.Unicode.GetBytes(tmp);
mbyte.Lengrh和用DirectoryInfo获得的文件大小不一样啊,这是什么原因造成的呢?望高手解答