private void Button1_Click(object sender, System.EventArgs e)
{
StreamWriter sw = File.CreateText(@"c:\www\my2.txt");
sw.Write("xxxxx");
sw.Close();
}
{
StreamWriter sw = File.CreateText(@"c:\www\my2.txt");
sw.Write("xxxxx");
sw.Close();
}
D:\www\yourusname\somestring\wwwroot你每次FTP及其它操作都只能在这个wwwroot里面搞。
去你application的路径,相对application根目录的路径