login about faq

Hi, I have a tectia server installed on windows. We are receiving files from UNIX over SFTP. Since SFTP uses binary mode, we receive unix line feed n, however, our windows process that picks up the files expects windows linefeed rn and hence fails. would like to know if there is any setup/config we can twick on server to convert unix line feed to windows line feed while receiving files?


asked Oct 07 '11 at 17:43

leegc's gravatar image


There is no option on the server side to automatically change line feed. Also newline convention can't be changed in binary mode.

To convert linefeed you can on the client side first switch to ascii mode:

and then set newline convention to transfer. For example to transfer from unix client to windows server:
 ascii dos unix

sftpg3 manual


answered Oct 14 '11 at 15:54

Dmitryp's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 07 '11 at 17:43

Seen: 11,047 times

Last updated: Oct 14 '11 at 15:54

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.