使用 Asp.Net FileUpload 控件时,上传的文件在保存之前位于何处?
当您在调用 SaveAs()
方法之前BUT上传文件时,我试图确定 Asp.Net 和/或 IIS 存储文件上传的位置。
我查看了 MSDN ,我很喜欢知道它在内存中而不是放在文件系统上,但我在任何地方都找不到它明确说明的地方。
我正在尝试向 IT 人员验证上传的文件(其流将传递到 FTP,而无需调用 SaveAs())不会被我们的服务器复制系统自动复制。
I am trying to determine where Asp.Net and/or IIS store file uploads when you upload a file BUT before you call the SaveAs()
method.
I looked on MSDN and I kind of get the idea that it's in memory and not put on the file system, but I can't find it anywhere it says this explicitely.
I am trying to verify to IT that uploaded files (whose streams are passed on to FTP without ever calling SaveAs()
) will not be automatically replicated by our server replication system.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下内容来自 如何更改 ASP.NET 2.0 FileUpload 控件的默认 TempFile 上传位置?
编译元素(ASP.NET 设置架构) 显示
编译
元素,其中tempDirectory
属性保存上传过程中临时文件的位置。The following is from How to change the default TempFile upload location for the ASP.NET 2.0 FileUpload control?
compilation Element (ASP.NET Settings Schema) shows the
compilation
element where thetempDirectory
attribute holds the location for the temp files while a upload is in progress.