NET SFTP Library
FileProgressEvent Event






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : FileProgressEvent Event
Fired for upload/download progress of the current file
Syntax
'Declaration
 
Public Event FileProgressEvent As SFTP.TransferProgressChangedEventHandler
'Usage
 
Dim instance As SFTP
Dim handler As SFTP.TransferProgressChangedEventHandler
 
AddHandler instance.FileProgressEvent, handler
public event SFTP.TransferProgressChangedEventHandler FileProgressEvent
public event FileProgressEvent: SFTP.TransferProgressChangedEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event SFTP.TransferProgressChangedEventHandler* FileProgressEvent
public:
event SFTP.TransferProgressChangedEventHandler^ FileProgressEvent
Event Data

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

PropertyDescription
The amount of bytes already Transferred  
A custom user object passed as a parameter of an async operation  
The percentage Transferred  
A unique identifier for this instantiated ftp session  
The amount of bytes to be Transferred  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also