StartTransfer Event
Fired when a file starts downloading/uploading.
Syntax
public open class DefaultSshplexEventListener : SshplexEventListener { ... public override fun startTransfer(e: SshplexStartTransferEvent) {} ... } public class SshplexStartTransferEvent { val operationId: String? val direction: Int val localFile: String? val remoteFile: String? val remotePath: String? var filePermissions: String? }
Remarks
This event is fired once per file when it starts 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.
FilePermissions includes information about the file that can be modified before finishing the upload/download.