EDI Integrator V9 - Online Help
Available for:
EDI Integrator V9
Questions / Feedback?

Transfer Event

Fired while a document transfers (delivers document).

Syntax

[VB.NET]
Public Event OnTransfer As OnTransferHandler
[C#]
public event OnTransferHandler OnTransfer;

public delegate void OnTransferHandler(object sender, OftpserverTransferEventArgs e);

class OftpserverTransferEventArgs : EventArgs {
  string ConnectionId {get;}
  int Direction {get;}
  string VirtualFileName {get;}
  string VirtualFileDate {get;}
  string Destination {get;}
  string Originator {get;}
  long BytesTransferred {get;}
  string Text {get;}  byte[] TextB {get;}
}

Remarks

The Text parameter contains the portion of the document text being retrieved. It is empty if data is being posted to the server.

The BytesTransferred parameter contains the number of bytes transferred in this Direction since the beginning of the document text.

The Direction parameter shows whether the client (0) or the server (1) is sending the data.

VirtualFileName holds the filename.

VirtualFileDate holds the date associated with the file in the format specified by VirtualFileDateFormat. The default value is "MM/dd/yyyy HH:mm:ss".

Originator identifies the sender (SFID) code in the send file request.

Destination identifies the receiver (SFID) code in the send file request.

ConnectionId identifies the connected client.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0