Opened 12 months ago
#13023 new Bug report
"create new file" does not use the correct line break formatting. CRLF is used for new file on linux server
Reported by: | MaximilianKohler | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | linebreaks | Cc: | |
Component version: | 3.66.1 | Operating system type: | Windows |
Operating system version: | Windows 10 x64 |
Description
I'm logged into a linux server (CentOS 7). I right-click in a folder/directory and click "create new file". I name it "test.json". I open the file with notepad++ and the line breaks are CRLF. This causes the file to not work with the linux OS that it's hosted on. I have to manually change the line breaks with notepad++.
I also tried creating the test.json on my PC and then uploading it to the linux server and it does not convert the line breaks even though I read elsewhere that it does.
I switched between "default transfer type auto/binary" and "treat files without extension as ASCII" but neither one seemed to have an impact.