如果你的文件夹是相对于网站的.例如/photos
那么保存的路径可以这样算:string filename=System.IO.Path.Combine(Server.MapPath("/photos"),"file001.jpg");那么filename可能是
c:\inetpub\wwwroot\photos\file001.jpg