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
I have been trying to use smb2 to create a new folder on remote.
I am not sure what 'path' is suppose to hold (absolute path on share, relative path to share, ...)
Imagine this
const smb2Client = new SMB2({
share:'\\\\ip.ip.ip.ip\\c$\\shareFolder',
domain:'ME',
username:'my',
password:'1234'
});
Then if I want to create 'plop' under 'shareFolder' what should I wrote?
I tried smb2Client.mkdir('plop' smb2Client.mkdir('.\plop' smb2Client.mkdir('.\\plop' smb2Client.mkdir('\\\\ip.ip.ip.ip\\c$\\shareFolder\\plop'
None seems to work.
Could you tell me if I'm doing this wrong?
The text was updated successfully, but these errors were encountered:
I have been trying to use smb2 to create a new folder on remote.
I am not sure what 'path' is suppose to hold (absolute path on share, relative path to share, ...)
Imagine this
Then if I want to create 'plop' under 'shareFolder' what should I wrote?
I tried
smb2Client.mkdir('plop'
smb2Client.mkdir('.\plop'
smb2Client.mkdir('.\\plop'
smb2Client.mkdir('\\\\ip.ip.ip.ip\\c$\\shareFolder\\plop'
None seems to work.
Could you tell me if I'm doing this wrong?
The text was updated successfully, but these errors were encountered: