不太明白你的意思。
不过,下面是用来上传文件的一个Web服务的方法(C#)。
[WebMethod]
public string UpLoadFile(Byte[] FileBody, string filename)
{
string filepath;
filepath = "c:\\";
filepath = filepath+filename;
System.IO.FileStream file = new System.IO.FileStream(filepath, System.IO.FileMode.Create);
file.Write(FileBody, 0, FileBody.Length);
file.Close();
}
【 在 gushingfire (不知疲倦的喷火龙) 的大作中提到: 】
: 急问!
: 如题。
: 小弟是个新手,请大家指教。
--
修改:heavyweight FROM 202.106.154.*
FROM 202.106.154.*