Uploading is performed via an Internet standard called RFC1867. This standard uses a different encoding scheme than typical HTML forms. Typically an HTML form may be defined as:
<FORM METHOD="POST" ACTION="PROCESS.ASP">
To upload files, an additional attribute must be specified:
<FORM METHOD="POST" ACTION="PROCESS.ASP" ENCTYPE="MULTIPART/FORM-DATA">
This attribute changes the encoding type (ENCTYPE) of the form for efficiency of transferring large amounts of data. ASP.NET is able to retrieve form elements from multipart/form-data encoded posts. However classic ASP's Request.Form collection does not understand this encoding type. It is unable to separate the file information from the other form of data.
FileUp includes all of the Request.Form's functionality and can interpret forms using this alternate encoding scheme. This must be used in order to retrieve form data in classic ASP.
If you are using FileUp in an ASP.NET application, it is your choice whether to use FileUp's Form or FormEx collections or ASP.NET's built-in Form collection.
See the FileUp documentation:
|