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

Default transfer mode to binary #9

Merged
merged 2 commits into from
Sep 26, 2021
Merged

Conversation

thekid
Copy link
Member

@thekid thekid commented Sep 26, 2021

The ASCII mode is only useful for plain text files and if we want line endings rewritten. Most Un*x systems can handle Windows linefeeds without problem nowadays, vice versa. See also https://stackoverflow.com/questions/6155905/in-what-situation-should-i-use-ascii-to-transfer-a-file-over-ftp-im-not-askin

⚠️ Still, this is a BC break, and will result in a new major version!

@thekid thekid merged commit f88cb96 into master Sep 26, 2021
@thekid thekid deleted the refactor/default-to-binary branch September 26, 2021 20:05
@thekid
Copy link
Member Author

thekid commented Sep 26, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant