From 015a83929f2f04455c704546f3d3f80d42c23101 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 28 七月 2023 14:59:40 +0800
Subject: [PATCH] 添加文件上传功能

---
 ExportMap/Web.config |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ExportMap/Web.config b/ExportMap/Web.config
index 822215a..3e79cc0 100644
--- a/ExportMap/Web.config
+++ b/ExportMap/Web.config
@@ -3,6 +3,8 @@
   <appSettings>
     <!-- 寤婂潑鏈嶅姟 -->
     <add key="lfServer" value="http://127.0.0.1:12316/server"/>
+    <!-- 涓存椂鐩綍 -->
+    <add key="tempFolder" value="D:\LF\temp"/>
     <!-- 涓婁紶鐩綍 -->
     <add key="uploadFolder" value="D:\LF\upload"/>
     <!-- 涓嬭浇鐩綍 -->
@@ -32,12 +34,14 @@
   <connectionStrings/>
   <system.web>
     <compilation debug="true" targetFramework="4.5.2"/>
-    <httpRuntime maxRequestLength="2147483647"/>
+    <!-- maxRequestLength鏄笂浼犳枃浠舵椂鏈�澶ize(鍗曚綅鏄疜B,榛樿鍊兼槸4096kb)锛宔xecutionTimeout鏄姹俿ession(鍗曚綅鏄,榛樿鍊兼槸110s) -->
+    <httpRuntime maxRequestLength="2147483647" executionTimeout="14400"/>
     <pages controlRenderingCompatibilityVersion="4.0"/>
   </system.web>
   <system.webServer>
     <security>
       <requestFiltering>
+        <!-- 1GB = 1073741824 -->
         <requestLimits maxAllowedContentLength="2147483647"/>
       </requestFiltering>
     </security>

--
Gitblit v1.9.3