Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STATUS_USER_SESSION_DELETED #87

Open
ruikaka16 opened this issue Apr 3, 2024 · 0 comments
Open

STATUS_USER_SESSION_DELETED #87

ruikaka16 opened this issue Apr 3, 2024 · 0 comments

Comments

@ruikaka16
Copy link

const smbClient = new smb2({
      client: {
        dialect: '3.1.1'
      },
      share: '\\\\'+ip+'\\'+String(remotepath).substring(0,1)+'$',
      domain: 'workgroup',
      username: username,
      password:password
    });
  
    smbClient.readdir((String(remotepath).substring(3)).replace(/\\/g, '\\\\') + "\\\\", function(err, files) {
     if (err) throw err;
      console.log(files.length);
      return files.length
    });

run my code returning the same error:"STATUS_USER_SESSION_DELETED ",i don't know how to fix it,but it run perfectly well before.Thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant