Header

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Property, read only 
          Member of  ScriptUtils.FormField 

Description

One of the multipart field header.

Syntax

vHeader = FormField.Header (Name as String, [CharSet as ConvertCodePages = CharSet])
 
Where Type Optional Default Description
 Name  String     Name of the field header 
 CharSet  ConvertCodePages  yes  CharSet  String or numeric (ConvertCodePages) expression that describes the character set of the property. 

Returns

String

Remarks

multipart/form-data usually has Content-Disposition and Content-Type headers.
multipart/related usually has Content-Type and Content-Length headers.

Examples

 Multipart - enumerate field headers  
  Dim Item, MP' As New FormParser
  Set MP = CreateObject("ScriptUtils.FormParser")

  MP.ProcessMultipartFile "F:\1\test\Seznam.mht"

  For Each Item In MP.Items
    echo "************* n of headers:" & (UBound(Item.Headers) + 1)
    echo Item.Name

    For Each h In Item.Headers
     echo "hname:" & h & ", value: " & Item.Header(h)
    Next

  Next

Sub Echo(co)
    Wscript.Echo TypeName(Co), Len(Co), Co
End Sub

See also

  Other links for Header

Methods of FormField class

ScriptUtils.FormField

One form field. Member of FormFields collection.

ScriptUtils

     Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 2GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance.

     The software has also a free version of asp upload with progress, called Pure asp upload, written in plain VBS, without components (so you do not need to install anything on server).

     This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files, works with binary data, you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.


© 1996 – 2008 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 2.20.24