EDI Integrator 2016 .NET Edition
EDI Integrator 2016 .NET Edition
Questions / Feedback?

StartTransfer Event

Fired when a document starts transferring.

Syntax

[VB.NET]
Public Event OnStartTransfer As OnStartTransferHandler
[C#]
public event OnStartTransferHandler OnStartTransfer;

public delegate void OnStartTransferHandler(object sender, OftpclientStartTransferEventArgs e);

class OftpclientStartTransferEventArgs : EventArgs {
  int Direction {get;}
  string LocalFile {get; set;}
  string VirtualFileName {get;}
  string VirtualFileDate {get;}
  string Destination {get;}
  string Originator {get;}
}

Remarks

This event fires when a file transfer begins.

Direction specifies if the client or server sent the file.

0 (Client) The file originated from the client.
1 (Server) The file originated from the server.

VirtualFileName holds the filename.

VirtualFileDate holds the date associated with the file in the format "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.

LocalFile holds the full path to the file that will be written.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
EDI Integrator 2016 .NET Edition - Version 16.0 [Build 7362]