Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 18:04pm
Edited 23-Dec-12 18:05pm
v2
Comments
Sergey Alexandrovich Kryukov at 23-Dec-12 23:16pm
   
Why not? What do you mean by "not working", exactly?
—SA
Krunal Rohit at 23-Dec-12 23:32pm
   
Depends on available disk space...

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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  
v2

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,917


Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100