Managing Text File Line Endings

File transfers between the FileXpress Transfer Client and the FileXpress Secure Shell Proxy 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 FileXpress Secure Shell Proxy 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 FileXpress Secure Shell Proxy servers; it will not work with OpenSSH servers.)

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

  • All files exposed by the FileXpress Secure Shell proxy for download will have Windows line endings.
  • The FileXpress Secure Shell Proxy expects all uploaded files to have Windows line endings.