Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftplib doesn't follow standard #44127

Closed
ods mannequin opened this issue Oct 13, 2006 · 7 comments
Closed

ftplib doesn't follow standard #44127

ods mannequin opened this issue Oct 13, 2006 · 7 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@ods
Copy link
Mannequin

ods mannequin commented Oct 13, 2006

BPO 1576598
Nosy @phdru, @ods, @giampaolo, @devdanzin, @merwok
Superseder
  • bpo-821862: ftplib: Strict RFC 959 (telnet in command channel)
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2010-08-24.22:19:52.822>
    created_at = <Date 2006-10-13.14:46:33.000>
    labels = ['type-bug', 'library']
    title = "ftplib doesn't follow standard"
    updated_at = <Date 2010-08-24.22:22:15.811>
    user = 'https://github.com/ods'

    bugs.python.org fields:

    activity = <Date 2010-08-24.22:22:15.811>
    actor = 'eric.araujo'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-08-24.22:19:52.822>
    closer = 'BreamoreBoy'
    components = ['Library (Lib)']
    creation = <Date 2006-10-13.14:46:33.000>
    creator = 'ods'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 1576598
    keywords = []
    message_count = 7.0
    messages = ['61021', '64111', '84527', '84536', '84538', '114839', '114841']
    nosy_count = 6.0
    nosy_names = ['phd', 'ods', 'giampaolo.rodola', 'ajaksu2', 'eric.araujo', 'BreamoreBoy']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'test needed'
    status = 'closed'
    superseder = '821862'
    type = 'behavior'
    url = 'https://bugs.python.org/issue1576598'
    versions = ['Python 3.1', 'Python 2.7', 'Python 3.2']

    @ods
    Copy link
    Mannequin Author

    ods mannequin commented Oct 13, 2006

    According to RFC 959 communication for the exchange of
    commands and replies must follow telnet protocol, but
    ftplib doesn't. This causes "550 No such file or
    directory" replies when path contains '\xFF' character
    (which is quite widely used in some languages).

    The bug applies to all versions of Python.

    @ods ods mannequin added stdlib Python modules in the Lib dir labels Oct 13, 2006
    @giampaolo
    Copy link
    Contributor

    I think the problem you described is up to the FTP server implementation
    which does not have unicode support.
    The telnet protocol is used in FTP only when dealing with ABOR and STAT
    commands. It has nothing to do with pathnames.

    @devdanzin
    Copy link
    Mannequin

    devdanzin mannequin commented Mar 30, 2009

    Denis, can you confirm this is a Python issue? I'll close this otherwise.

    @devdanzin devdanzin mannequin added type-bug An unexpected behavior, bug, or error labels Mar 30, 2009
    @phdru
    Copy link
    Mannequin

    phdru mannequin commented Mar 30, 2009

    This is a duplicate of the issue http://bugs.python.org/issue821862

    @ods
    Copy link
    Mannequin Author

    ods mannequin commented Mar 30, 2009

    Yes, it's a problem in Python library. I believe the patch proposed by
    Oleg in the bpo-821862 is the best solution to it.

    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented Aug 24, 2010

    There's a patch on bpo-821862.

    @BreamoreBoy BreamoreBoy mannequin closed this as completed Aug 24, 2010
    @BreamoreBoy BreamoreBoy mannequin closed this as completed Aug 24, 2010
    @merwok
    Copy link
    Member

    merwok commented Aug 24, 2010

    Mark, it’s helpful to set the superseder field when closing as duplicate. Thanks in advance :)

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants