You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SmbConnection class can now delay the SMB connection until the first real SMB request is made (So called lazy initialization). This feature is useful for systems that create too many parallel SMB sessions that would exceed the SMB session pool. The SMB connection is made on the first method call that requires an active SMB connection.
The SmbConnection class now provides a SmbConnection.isConnectionAlive() method to check if the SMB connection is alive. If the SMB connection is not alive, a call to SmbConnection.ensureConnectionIsAlive() recreates the SMB connection if required. This feature is useful for system that use a long living SmbConnection where the SMB connection times out and it's not possible to recreate the SmbConnection manually.
The SmbOutputStream now provides two overloaded methods SmbOutputStream.write(bytes) and SmbOutputStream.write(bytes, offset, length) methods for more fine grained write scenarios. The second function only works in non-appending context.