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.)
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.)
Hi Christine,
I believe the RSE Sftp service always transfers files in binary mode. What you may want to do is go to Preferences->General->Workspace and change the text file line delimiter to be "Unix".