The Maverick.NET SSH API

FileTransferProgress Delegate

A delegate for receiving file transfer information from a file subsystem.

[Visual Basic]
Public Delegate Function FileTransferProgress( _
   ByVal state As FileTransferState, _
   ByVal filename As String, _
   ByVal bytesValue As Long _
) As Boolean
[C#]
public delegate bool FileTransferProgress(
   FileTransferState state,
   string filename,
   long bytesValue
);

Return Value

If an implementation wants to cancel a transfer they should return a false value, otherwise return a true value to continue the file transfer.

Remarks

This delegate is used by the SCPClient and SFTPClient to provide information on the progress of file transfers.

Requirements

Namespace: Maverick.Events

Assembly: Maverick.NET (in Maverick.NET.dll)

See Also

Maverick.Events Namespace