Back to product page

RemoteDataEvent event


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

Syntax

  • C#
  • VB.NET
delegate void RemoteDataDelegate(object Sender, RemoteDataArgs Args);
The RemoteDataEvent(Args.Data) syntax has these parts:
Args.DataByte[]. Holds remote file data.

Delegate Sub RemoteDataDelegate(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.SFTP.RemoteDataArgs)
The RemoteDataEvent(Args.Data) syntax has these parts:
Args.DataByte[]. Holds remote file data.

Remarks

The RemoteData event is fired if you use RemoteRead method, and wodSFTP.NET manages to read remote file. Data argument will hold data for you, and it can be also provided as Char Array or as String. More than one RemoteData event can be fired as result of only one RemoteRead method call.

Also, once file transfer is finished Done event will be fired.

Platforms

Windows