일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 일본여행
- 나만의 상점
- AIoptimization
- LEFT JOIN
- MSSQL
- league of legends
- largelanguagemodels
- 오블완
- Kakao API Address
- Banker's rounding
- MS-SQL
- 한글깨짐
- swift 화면전환
- Excel
- 업비트
- 썸머노트
- Oracle
- CSV
- python
- Request.Form
- chart.js
- MYSQL
- Banker's
- .csv
- rounding
- Aspose.cells
- PromptEngineering
- 초딩수학
- Android
- upbit
Archives
- Today
- Total
DBA
.NET MVC 대용량 파일 업로드 본문
728x90
반응형
SMALL
파일 업로드 시 파일 크기 제한에 걸릴때
Web.config 파일에서 아래 음영 부분의 숫자를 변경해 주면 됨
(초록색 부분은 게시판작성시 테그를 POST로 넘길때 문제가 생기면 4.0 => 2.0 으로 변경)
[대용량 파일 업로드]
<system.web>
<httpRuntime maxRequestLength="1048576" requestValidationMode="2.0" executionTimeout="3600" targetFramework="4.5.2" />
</system.web>
[허용되는 최대 콘텐츠 길이(바이트)]
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
</system.webServer>
728x90
반응형
LIST
Comments