-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.SFTPTransferQueue.Progress
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
SSH.SFTPTransferQueue.Progress
Event Function Progress(NetworkStream As SSH.SFTPStream, FileStream As BinaryStream) As Boolean
Name | Type | Comment |
---|---|---|
NetworkStream | SFTPStream | The network side of the transfer. |
FileStream | BinaryStream | The local side of the transfer. |
Return True
to abort the specified transfer.
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.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.