internal void OnEndFileTransfer(string localFileName, string remoteFileName, TransferDirection transferDirection) { if ((object)EndFileTransfer != null) EndFileTransfer(this, new EventArgs<string, string, TransferDirection>(localFileName, remoteFileName, transferDirection)); }