Skip to content

Multiline server responses #1

Description

@GoogleCodeExporter
RFC 959
4.2. FTP REPLIES
<snip>
Thus the format for multi-line replies is that the first line will begin
with the exact required reply code, followed immediately by a Hyphen, "-"
(also known as Minus), followed by text.  The last line will begin with the
same code, followed immediately by Space <SP>, optionally some text, and
the Telnet end-of-line code.

---

On login a MOTD of longer than one line will cause an error for anonymous
logins at the password section due to the server still sending 220 causing
the 331 password to fail (untested for real accounts). I assume that this
is the case for all multiline responses. For a possible solution ftplib etc
seem to have this covered but it's not the same API so it might not work :)

Original issue reported on code.google.com by dfens...@gmail.com on 8 Nov 2008 at 6:12

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions