|
|
1
0
Request.Application 返回服务器上应用程序的虚拟应用程序根路径。例如:“/yourapp”,而不是“c:\inetpub\wwwroot\yourapp”。 可能发生的是 文件.writeline(…) 是 实际上,将文件写入某个位置,可能与Web服务器进程位于同一文件夹中。 编辑: 这里有一些 可能的 检查地点:
|
|
|
2
0
ASP.NET可能只截取ASP.NET文件扩展名,如.aspx,而不处理其他类型的内容(例如,可能您的jpeg被完全跳过)。 These are the regular file extensions mapped to ASP.NET for processing . 您可能需要将IIS中的其他文件扩展名(如.jpeg、.jpg等)映射到ASP.NET处理器。- This Microsoft article tells how . |