Class: SoftArtisans.FileUp

Property: ContentDisposition

Type: String

Read Only

Description: The MIME Content Disposition of the data. This should always be "form-data" when using a browser that supports RFC 1867 uploads.

Use this parameter to determine if the browser supports this upload mechanism.

If there are multiple files in an upload, every file's Content Disposition should still be "form-data".

If there is more than one file being uploaded in a single page, only the first one will be displayed.

To examine the content disposition of multiple files in a single upload, there is an equivalent property for each file object, i.e. upl.Form("FILE1").ContentDisposition.

Example:

<% If upl.ContentDisposition <> "form-data" Then %>
      Your upload did not succeed, most likely because your browser
      does not support Upload via this mechanism.
<br>