Skip to content

Normalize path on Windows #9

Description

@rapkin

When i use this options {baseDir: backupDir} on upload i receive error on Windows - sometimes path not normalized. So when we try to remove baseDir from path (https://github.com/noodny/node-ftp-client/blob/master/lib/client.js#L108) on Windows possible to have error. Please use function path.normalize in your package to prevent errors like this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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