From 17d8bcf5126e60f3406db4418f89197fcc77f337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20Perez=20Valera?= <37852154+quimperval@users.noreply.github.com> Date: Fri, 16 Jun 2023 15:55:34 -0600 Subject: [PATCH] Update README.adoc --- README.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 51a1d00d..91cdcb37 100644 --- a/README.adoc +++ b/README.adoc @@ -63,13 +63,14 @@ B - Deleting a file ``` -C - Adjusting Timeout and Socket Timeout +C - Adjusting Timeout, Socket Timeout and encryption on transit ```java SmbConfig config = SmbConfig.builder() .withTimeout(120, TimeUnit.SECONDS) // Timeout sets Read, Write, and Transact timeouts (default is 60 seconds) .withSoTimeout(180, TimeUnit.SECONDS) // Socket Timeout (default is 0 seconds, blocks forever) + .withEncryptData(true) // This will allow to connect to folders with encryption on transit .build(); SMBClient client = new SMBClient(config);