Managing Text File Line Endings

File transfers between the Web Edition Transfer Client and the Reflection for Secure IT server are always binary. This means that the content of transferred files, including text file line endings, is not modified in any way during the transfer. If you are managing text file transfers from systems that use different line endings (for example Mac or UNIX files transferred to the Windows server), use a text-file conversion utility to modify line endings.

Text file line ending conversion is configurable for file transfers between the Reflection for Secure IT server and a remote SFTP server. Configure this from the Remote SFTP Server Connection dialog box using the Options tab. By default, files with txt, htm, html, bat, and cmd are transferred as text files. You can modify this list of text file types, and specify which line ending convention should be used on the remote server for transferred text files. (The default is to determine the correct line ending automatically. Automatic line conversion is available if you are connecting to other Reflection for Secure IT servers; it will not work with OpenSSH servers.)

For transfers involving all three systems (the Transfer Client, the Reflection for Secure IT server, and a remote SFTP server) where text conversion is configured and working on the Reflection for Secure IT server:

  • All files exposed by the Reflection for Secure IT server for download will have Windows line endings.
  • The Reflection for Secure IT server expects all uploaded files to have Windows line endings.