Multipart - enumerate field headers

Sample for ScriptUtils.FormField.Headers | Changes | Purchase | Download

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

Other links for the Multipart - enumerate field headers sample

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 4GB 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 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz


Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object