Report message to a moderator
I deploy php files to a Linux server from a Windows box. I have a SFTP connection to that server. I wish line endings would be converted when copying files.
I have set *.php as "Text" in Remote Systems>Files>File types.
I have even set "Text" as the Default File Transfer Mode.
Even then, php files copied to Linux still have their lines ending whith ^M. (And that causes some bugs.)