Back to product page

RemoteData method


Called after wodSFTP has some data to be provided as result of RemoteRead command.

Type

None

Syntax

  • Basic
object.RemoteData Owner, Data
The RemoteData(object,Owner,Data) syntax has these parts:
objectAn expression evaluating to an object of type IwodSFTPNotify.
OwnerA wodSFTPCom object.
DataVariant value. Holds data returned from the server.

Remarks

This method is only called if you implemented the IwodSFTPNotify interface in your application and the wodSFTP.Notification property has received a reference to an instance of your implementation.

The RemoteData notification method is called if you use RemoteRead method, and wodSFTP manages to read remote file. Data argument will hold data for you, either as String or as Byte Array - depending on what you specified as Type in RemoteRead call. More than once RemoteData notification method may be called as result of only one RemoteRead method call.

Platforms

Windows