What is the difference between an HTTP Upload and a SOAP Request? An upload is an HTTP request that uses the multipart/form-data content-type. (All HTTP requests and responses are MIME, and the format of a given request is determined by the content-type.) A SOAP request, on the other hand, has a content-type of text/xml, which means it is composed of […]
I get the following support problem about once per week from ASP developers: The ASP developer wants to upload a file from the client computer where the browser is running, to an FTP server. He writes ASP code to do the FTP upload, but cannot understand why the file is not found. The thing the ASP developer doesn’t realize is […]
Question: We are trying out the FTP2 ActiveX component for ASP. What we need to do is have people be able to upload files to the web server over the Internet. Is this component able to do this – or can it only FTP files that are already on the web server? Answer: This is a common question. The need […]
The AspMaxRequestEntityAllowed Metabase Property (IIS 6.0) specifies the maximum number of bytes allowed in the entity body of an ASP request. The default value is 2MB. To upload files greater than this size, this IIS metabase property must be changed on the server.
A web application running in IIS7 on Windows Server 2008 will reject any upload that is larger than 30MB. This is the default size limit for IIS7. To increase the maximum file size, add the following code to <system.webServer> in the web.config file: (This example sets the limit to 500MB) <security> <requestFiltering> <requestLimits maxAllowedContentLength=”500000000″ /> </requestFiltering> </security> You must restart […]
The Chilkat Upload ActiveX component (which is entirely freeware) provides the capability to receive both form text items as well as file uploads in a single HTTP POST. This post provides an example. First we show the HTML FORM with both text and file input fields. Then we show the ASP script to receive the POST. More information about the […]