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
Hello
I found your smb2 is convenient.
But I have a issue with remove file
my folder: "dev"
my file: "89b775f5-10c2-49d3-8b2c-c76000dad5bc.jpeg" ( existed)
I tried to remove file follow:
smb2Client.unlink("dev\\89b775f5-10c2-49d3-8b2c-c76000dad5bc.jpeg",function(err){if(err){console.log(err);next(err);}console.log("file has been deleted");returnnext();});
But I got a error message: "File does not exists."
I used smb2 "exists":
smb2Client.exists(`dev\\89b775f5-10c2-49d3-8b2c-c76000dad5bc.jpeg`,function(err,exists){if(err){console.log(err);next(err);}console.log(exists ? "it's there" : "it's not there!");returnnext();});
But I got the same message, too.
Please help me check it!
Thanks for support!!!
The text was updated successfully, but these errors were encountered:
Hello
I found your smb2 is convenient.
But I have a issue with remove file
my folder: "dev"
my file: "89b775f5-10c2-49d3-8b2c-c76000dad5bc.jpeg" ( existed)
I tried to remove file follow:
But I got a error message: "File does not exists."
I used smb2 "exists":
But I got the same message, too.
Please help me check it!
Thanks for support!!!
The text was updated successfully, but these errors were encountered: