Describe the bug
Currently running ensureDir I only receive a 550 The system cannot find the file specified. which from the CMD, but when running MKD it is already receiving a 550 Access is Denied. Throwing access denied is much more concise and self explanatory about the actual situation than a file not found error.
Example code
await client.ensureDir("a/b/c/d/e");
Console output
> MKD a
< 550 Access is denied.
> CMD a
< 550 The system cannot find the file specified.
Which version of Node.js are you using?
Node v16.17.1
Additional context
The FTP server is a Microsoft File Server, and is believed to be missing my permission to create folders.
A correct error message would definitely save me an hour of debugging.
Describe the bug
Currently running
ensureDirI only receive a550 The system cannot find the file specified.which from the CMD, but when runningMKDit is already receiving a550 Access is Denied. Throwing access denied is much more concise and self explanatory about the actual situation than a file not found error.Example code
Console output
Which version of Node.js are you using?
Node v16.17.1
Additional context
The FTP server is a Microsoft File Server, and is believed to be missing my permission to create folders.
A correct error message would definitely save me an hour of debugging.