-
Notifications
You must be signed in to change notification settings - Fork 105
Option to disable ASCII EOL conversion #615
Copy link
Copy link
Open
Description
Are you open to a PR that allows line ending conversion for transfers using ASCII mode to be disabled via a flag?
I understand that this isn't compliant with the RFC spec, but other FTP servers support this feature to be toggled (e.g. vsftpd) as end-users may not want their files modified by the server. This would also allow the SIZE command to work in ASCII mode if the conversion is disabled.
I would propose the flag is something like DisableASCIIConversion bool so the default (false) still represents the current working. This would allow anyone that wants the conversion to be disabled to set it to true and bypass the ascii conversion logic for line endings.
Happy to submit a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels