SMBLibrary icon indicating copy to clipboard operation
SMBLibrary copied to clipboard

SmbService.Smb2GetFileList returns null at 3rd attempt

Open GeoCen01 opened this issue 2 years ago • 0 comments

Hi, I'm at a roadstop, can anyone help on why TreeConnect returns an ErrorResponse when following line is called 3 times: (MainPageViewModel.cs : 263) fileList = smbService.Smb2GetFileList(MySmbInfo);

It seems that in SmbService.cs:171 the TreeConnect is returning null and the status is "-1073741616" var share = client.TreeConnect(pathArr[1], out status) as SMB2FileStore;

Thank you for your help!

To reproduce:

  1. In the UI click the green bar under File: image
  2. Select Cancel at the pop up: image
  3. Repeat steps 2 times will return empty list

GeoCen01 avatar Aug 24 '22 09:08 GeoCen01