SSH.SFTPTransferQueue.Progress - charonn0/RB-libssh2 GitHub Wiki
SSH.SFTPTransferQueue.Progress
Event signature
Event Function Progress(NetworkStream As SSH.SFTPStream, FileStream As BinaryStream) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
| NetworkStream | SFTPStream | The network side of the transfer. |
| FileStream | BinaryStream | The local side of the transfer. |
Return value
Return True to abort the specified transfer.
Remarks
This event is raised when data is sent or received on a transfer. You can use the IsDownload and IsUpload methods to determine what kind of transfer the NetworkStream represents.
The Position and Length properties of the streams can be used to calculate the progress.