Skip to content

EOFError when cwd(back) #42

Description

@GillesPTBS

When using put() with a path having more than one slash, i have had EOFErrror.
File ftpretty.py
It happens on line 135 self.conn.cwd(back)
It was a python issue: .cwd('..') works, .cwd('../..') works, but .cwd('../../..') and longer does'nt

I replaced lines 134 & 135 with for _ in range(depth):self.conn.cwd('..') and don't have any issue since

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