IEDownload Properties
Most of the properties are used for setting the values for the binding operation in IBindstatuscallback.GetBindInfo. AdditionalHeader: If additional request headers are needed you can either add it as a simple string value in AdditionalHeader or use the OnResponse event. The following code use AdditionalHeader in a POST operation:
Codepage: Value that contains the code page used to perform the conversion. This can be one of the following values:
Method:
CustomVerb: String specifying a protocol-specific custom action to be performed during the bind operation (only if Method is set to CUSTOM). ExtraInfo: this string is appended to the URL when the bind operation is started. Postdata: Stringvalue to use in POST or PUT operations. See AdditionalHeader. Security: Setting SecurityAttributes in the BindInfo.Contains the descriptor for
the object being bound to and indicates whether the handle retrieved by
specifying this structure is inheritable. User-defined timeout interval (in milliseconds). 0 disable timeout. e.g.
PutFilename: The Data in PutFileName will be transferred if you use Method Put. The following code shows how to upload file 'C:\test.zip' to server (here PWS). Make sure you have write-permission to the directory.
Last Update: October 1, 2000
|