One of the multipart field header.
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. |
String
multipart/form-data usually has Content-Disposition and Content-Type headers.
multipart/related usually has Content-Type and Content-Length headers.
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 |
ByteArray, ContentDisposition, ContentTransferEncoding, ContentType, FileExt, FileName, FilePath, Header, Headers, HexString, CharSet, Index, InProgress, IsFile, Length, Name, RAWHeader, SourceLength, String, Value
One form field. Member of FormFields collection.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz