|
Summary
Send data by parameter or property
Description
The UseProperty property is used to specify whether the Buffer parameter or the SendData property should be assigned data in the OnSend event. If UseProperty is set to True, the control will
get the data to send from the SendData property, otherwise it will get the the data from the Buffer parameter.
The UseProperty property is generally set to False, and the event parameter should be used in most cases. It should only be set to True in environments like Visual J++ where the control is unable to
get the new value of the event parameter. This is because Visual J++ has to use VBScript to catch and pass the ActiveX events, and VBScript is unable to pass back parameters to the control.
This property should be set before setting the FileAction property to FILE_ACTION_PUT (or calling the PutFile method) in an event based file copy. This property can be read at any time. The default
value for this property is False.
Example
FTPClient.UseProperty = False
|