EndTransfer Event

Fired when a file completes downloading/uploading.

Syntax

public class DefaultSshplexEventListener implements SshplexEventListener {
  ...
  public void endTransfer(SshplexEndTransferEvent e) {}
  ...
}

public class SshplexEndTransferEvent {
  public String operationId;
  public int direction;
  public String localFile;
  public String remoteFile;
  public String remotePath;
}

Remarks

This event is fired once per file when it finishes downloading/uploading.

OperationId is the string associated with operation fired this event.

Direction is 0 for Uploads and 1 for Downloads.

LocalFile, RemoteFile, and RemotePath are populated with values of LocalFile, RemoteFile, and RemotePath, respectively, that are associated with the method that triggered this event.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Java Edition - Version 20.0 [Build 8501]