gnodet commented on issue #450: URL: https://github.com/apache/mina-sshd/issues/450#issuecomment-1917521356
You can find an example of calling a client side extension at: https://github.com/apache/mina-sshd/blob/6d93af8e1f852d50849ef158ee30bebf67e46fbc/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/fs/SftpFileSystemProvider.java#L777 So in this case, it would look like: ``` SftpClient client = ...; MD5FileExtension md5 = client.getExtension(MD5FileExtension.class); md5.getHash(...) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org