large-file-upload

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

情到浓时终转凉″ 提交于 2019-11-28 03:35:13
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 request failed with HTTP status 404: Not Found." From what I've seen this appears to be an IIS setting that limits the size of a file that can be posted (to prevent Denial of Service attacks). I've tried to increase that setting, but I am having trouble determining what setting and where/how one would set it. I am using IIS7 and the webservice is done in .net (asmx). In the web.config of the web service I have added the following (which

How to handle large file uploads via WCF?

余生长醉 提交于 2019-11-27 04:06:10
I am looking into using WCF for a project which would require the ability for people to upload large files (64MB-1GB) to my server. How would I handle this with WCF, possibly with the ability to resume uploads. In order to handle a larger client base, I wanted to test out JSON via WCF. How would this affect the file upload? Can it be done from JSON, or would they need to switch to REST for the upload portion? If you want to upload large files, you'll definitely need to look into WCF Streaming Mode . Basically, you can change the transfer mode on your binding; by default, it's buffered, i.e.

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

天大地大妈咪最大 提交于 2019-11-27 00:10:09
问题 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 request failed with HTTP status 404: Not Found." From what I've seen this appears to be an IIS setting that limits the size of a file that can be posted (to prevent Denial of Service attacks). I've tried to increase that setting, but I am having trouble determining what setting and where/how one would set it. I am using IIS7 and the

How to handle large file uploads via WCF?

谁说胖子不能爱 提交于 2019-11-26 11:02:50
问题 I am looking into using WCF for a project which would require the ability for people to upload large files (64MB-1GB) to my server. How would I handle this with WCF, possibly with the ability to resume uploads. In order to handle a larger client base, I wanted to test out JSON via WCF. How would this affect the file upload? Can it be done from JSON, or would they need to switch to REST for the upload portion? 回答1: If you want to upload large files, you'll definitely need to look into WCF