Click here to Skip to main content
Sign Up to vote bad
good
See more: C#
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 23 Dec '12 - 17:04
Edited 23 Dec '12 - 17:05

Comments
Sergey Alexandrovich Kryukov - 23 Dec '12 - 23:16
Why not? What do you mean by "not working", exactly? —SA
Krunal Rohit - 23 Dec '12 - 23:32
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. Smile | :)
 
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
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 489
1 Mahesh Bailwal 413
2 Maciej Los 200
3 Aarti Meswania 193
4 CPallini 140
0 Sergey Alexandrovich Kryukov 9,607
1 OriginalGriff 7,214
2 CPallini 3,943
3 Rohan Leuva 3,261
4 Maciej Los 2,758


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid