Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Updated 23-Dec-12 17:05pm
v2
Comments
Sergey Alexandrovich Kryukov 23-Dec-12 23:16pm    
Why not? What do you mean by "not working", exactly?
—SA
[no name] 23-Dec-12 23:32pm    
Depends on available disk space...

1 solution

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
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900