是否可以在服务器根文件夹中存储大尺寸文件? [英] Is it possible to store large size files in server root folder?

查看:90
本文介绍了是否可以在服务器根文件夹中存储大尺寸文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hii

是否可以在服务器根文件夹中存储大尺寸文件?

SaveAs(server.MapPath(〜folder+ fileneme));

但我试图存储大到5到10 MB的大文件(.ppt,.mht),但它对我不起作用....

在此先感谢

hii
Is it possible to store large size files in server root folder?
SaveAs(server.MapPath("~folder"+fileneme));
but i am trying to store big files(.ppt,.mht) up to 5 to 10 MB but its not working for me....
Thanks In Advance

推荐答案

请参阅我对问题的评论:不清楚什么是不起作用。当然,您可以将大文件存储在该文件夹中,除非它没有填满所有可用磁盘空间并阻止必要的系统功能。 :-)



我只能推测问题不在于存储这些文件,而在于通过任何其他相关HTTP服务器功能的客户端大小下载它们。同样,您没有足够的信息,但您应该知道您的HTTP服务器设置。当然,存在许多限制,例如不同类型操作的最大文件大小,允许处理HTML请求的最大时间等。通常,所有这些都是可配置的。地址到服务器的文档,无论它是什么。



-SA
Please see my comment to the question: not clear what''s not working. Of course, you can store large files in that folder, unless it does not fill up all the available disk space and blocks essential system functionality. :-)

I can only speculate that the problem is not in storing those files, but in downloading them by the client size of any other related HTTP server functionality. Again, there is not enough information from you, but you should know your HTTP server settings. Naturally, there is a number of limitations, such as maximum file size for different kinds of operations, maximum time allowed to processing of HTML request, etc. Usually, all such things are configurable. Address to the documentation of the server, whatever it is.

—SA


这篇关于是否可以在服务器根文件夹中存储大尺寸文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆