How do I upload large (> 25MB) files to a web service?

后端 未结 8 1863
野趣味
野趣味 2020-12-07 15:56

I have a web service that takes a byte[] and saves it.

This works fine for \"small\" files, but once I hit a certain size the web service fails and returns \"The req

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-07 16:36

    In addition to the httpRuntime/maxRequestLength mentioned in the question, it looks like there is an additional item that can be added to the web service's web.config file to permit large file transfers.

      
        
          
            
          
        
      
    

    This appears to enable larger files to be uploaded via web services.

提交回复
热议问题