By default, server is used. createobject ("scripting. fileSystemObject ") when the size of the object to be uploaded exceeds the default size limit, the related file suffix will be blank and the size will also be 0
For how to modify the default settings, see http://www.banmanpro.com/support2/File_Upload_limits.asp
Reference the original article in the following section:
When trying to upload files over 200kb on IIS 6 the file may never upload and you either get an error or are sent to a blank screen. by default Windows 2003 Server limits file uploads to about 200kb in size. to overcome this limit you must edit the IIS metabase. XML file.
- Before you can edit the metabase. XML file you must tell IIS to allow you to edit the file. in IIS, right click the name of the server and select Properties. check "Enable direct metabase edit ".
- Find the metabase. xml file located in c: \ windows \ sytem32 \ inetserv and open the file in notepad.
- SearchAspmaxrequestentityallowedAnd increase the value. The default value is 204800 (200 K). Setting the value to 1000000 will allow 1 MB file uploads.
- You may now wish to uncheck the IIS property called "Enable direct metabase edit ".
To increase the File Download size limit, repeat all steps above but in step 3 find the parameter calledAspbufferinglimit. The default download limit is 4 MB. |