Skip to content

remove() uses send() with 2nd ignore argument which logs deprecation error #221

@sp00x

Description

@sp00x

Describe the bug

The client.remove() method is using send() with 2 arguments internally which will log a deprecation error to the logger

return this.send(`DELE ${validPath}`, ignoreErrorCodes)

0045 16:02:29 DEBUG    app  ftp proto: Deprecated call using send(command, flag) with boolean flag to ignore errors. Use sendIgnoringError(command).
0046 16:02:29 DEBUG    app  ftp proto: > DELE test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions