Header

          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
One form field. Member of FormFields collection.
      Easy to use, hi-performance ASP file upload component with progress bar indicator. Let's you upload multiple files with size up to 2GB to a disk or database along with another form fields. Works with large posts, any character set (including unicode utf-8). Contains one-click multiple files/folders download with on-the-fly compression (Using BinaryWrite/BinaryRead).
      Hi-performance text file logging for ASP/VBScript/VBA applications. Lets you create daily/weekly/monthly log files with variable number of logged values and extra timing and performance info.
       Lets you work with safearray binary data in VBS/JS. It also enables conversion between binary and String data using several code pages. ZLib compress and uncompress functions. Lets you transfer files using compressed stream from a client to server using IE.
      This library also enables calling of some Kernel and Advapi functions (performance, timing, sleep, configuration ...) and enables native work with INI files.


© 1996 – 2005 Motobit Software, help{at}pstruh.cz, help v. 2.16.14