Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Send back a proper multiline response #28

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

allenluce
Copy link
Contributor

Some clients asking for features will be expecting a standard multiline ftp response (according to section 4.2 in RFC949). This adds a multiline response method and rewrites the feature command to use it.

Some clients asking for features will be expecting a standard
multiline ftp response (according to section 4.2 in RFC949). This adds
a multiline response method and rewrites the feature command to use
it.
@allenluce
Copy link
Contributor Author

This should fix #27 (as well as incompatibilities with other clients).

@lunny
Copy link
Member

lunny commented Jun 13, 2017

I have tested this PR and it works well on ftp command, filezilla and webbrowsers via macOS and. It works well. Thanks! But I found it failed on transmit.

@lunny lunny added this to the 0.3 milestone Jun 13, 2017
@dougluce
Copy link

How can I reproduce the failure?

@lunny
Copy link
Member

lunny commented Jun 13, 2017

@dougluce

  1. check out this PR
  2. go build and run
  3. install Transmit on macOS then connect to the ftp server
    Then you will find it. But I think this PR could be merged at first and fix that in another PR? @allenluce

@dougluce
Copy link

Yeah, that makes sense to me. Please feel free to merge.

@lunny lunny merged commit e529ec1 into goftp:master Jun 13, 2017
@lunny lunny mentioned this pull request Jun 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants