Adds a file to the list of files to upload. It will be uploaded when the Form which contains this FileElement is sent to the web server.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
Parameters
- filename
- Type: System String
The name of the file.
- path
- Type: System String
The location of the file on disk. This can either be an absolute path, or a relative path. If it is a relative path, then it is relative to the data/Files directory for the current injector.
- contentType
- Type: System String
The Content-Type to specify when sending this file (e.g. "text/plain", "image/gif").
- contentTransferEncoding
- Type: System String
The Content-Transfer-Encoding to specify when sending this file (e.g. "binary").
See Also