Back to product page
- Introduction
- License agreement
- Getting Started
- Objects
- Enumerations
- wodHttpDLX
- Methods
- Properties
- Authentication
- AutoRedirect
- BindIP
- Blocking
- CertErrors
- Certificate
- Compression
- Hostname
- HTTPversion
- IgnoreCertErrors
- KeepAlive
- LastError
- LastErrorText
- LocalCertBag
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- ProxyAuthentication
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- Request
- Response
- Secure
- Socket
- SSLCipherList
- State
- Timeout
- URL
- UseIPv6
- Version
- Events
- wodHttpNotify
- HttpCookie
- HttpCookies
- HttpHeader
- HttpHeaders
- HttpRequest
- HttpRequestFormPost
- HttpRequestFormUpload
- HttpResponse
- How to get support?
- Technical information
- Fast notifications interface
- Error list
AddFile method
Adds new file item to the collection.
Type
NoneSyntax
- Basic
object.AddFile Name, Filename, [ContentType]
The AddFile(object,Name,Filename,ContentType) syntax has these parts:
The AddFile(object,Name,Filename,ContentType) syntax has these parts:
object | An expression evaluating to an object of type HttpRequestFormUpload. |
Name | Required. A String value. Name of the part in the multipart request. |
Filename | Required. A String value. Full path to filename that will be opened, and its contents are pasted into the request. |
ContentType | Optional. A Variant value. String expression as content-type to be specified for this part. |