EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to send CR and LF when using SFTPclient.write function?

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 09/11/2009 05:27:46
by johnny  (Standard support level)
Joined: 08/20/2009
Posts: 19

is that any way to do this? as I tried to send <CR> it's not working.

basically I want to write some to the linux file and emulate a CR / LF function.

thanks in advance.
Posted: 09/11/2009 08:29:13
by Eugene Mayevski (EldoS Corp.)

You need to send characters that correspond to CR and LF. These are characters with decimal codes #13 and #10.

Sincerely yours
Eugene Mayevski
Posted: 09/14/2009 02:12:46
by johnny  (Standard support level)
Joined: 08/20/2009
Posts: 19

thanks a lot Eugene,

I will try that.



Topic viewed 879 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!