PowerTCP SSH and SFTP for .NET
Progress Event




Occurs as each buffer of file data is sent or received.
Syntax
'Declaration
 
Public Event Progress As Sftp.ProgressEventHandler
'Usage
 
Dim instance As Sftp
Dim handler As Sftp.ProgressEventHandler
 
AddHandler instance.Progress, handler
public event Sftp.ProgressEventHandler Progress
public: __event Sftp.ProgressEventHandler* Progress
public:
event Sftp.ProgressEventHandler^ Progress
Event Data

The event handler receives an argument of type ProgressEventArgs containing data related to this event. The following ProgressEventArgs properties provide information specific to this event.

PropertyDescription
Item Gets progress for the current file or directory in the copy operation.  
List Gets progress for the entire copy operation.  
Remarks

The BlockSize property controls how often this event is raised.

Note: updating the UI from this event can negatively impact transfer speed.

See the ComponentBase.SynchronizingObject property for important information on updating UI controls from within this event.

See Also

Reference

Sftp Class
Sftp Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic