I am trying to access a network path to list directory file names, and I should give domain name, username and password to authenticate.
I have tried jcifs library but it's too old and NtlmPasswordAuthentication is deprecated. and it still works with smb version 1. and I have to connect to Windows server.
I found another library that would support the smb version 2.0 and 3.0. and another solution is to run an ftp server and use ftp protocol instead of smb.
the link below would explain everything about the new library:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.