Session.FileTransferred Event
Occurs when file is transferred, as part of either Session.GetFiles, Session.PutFiles (and other derived download and upload methods) or Session.SynchronizeDirectories.
Advertisement
Syntax
C#
public delegate void FileTransferredEventHandler( object sender, TransferEventArgs e ); public event FileTransferredEventHandler FileTransferred;
VB.NET
Public Delegate Sub FileTransferredEventHandler( sender As Object, e As TransferEventArgs ) Public Custom Event FileTransferred As FileTransferredEventHandler
Remarks
See TransferEventArgs.
Note that the same TransferEventArgs passed by this event is returned in the results of the Session.GetFiles, Session.PutFiles and Session.SynchronizeDirectories.
See also Session.FileTransferProgress.
Example
See example for Session.SynchronizeDirectories.