| Author |
SFTP New Line Character (Unix to Windows)
|
Padmanabhan Viswanathan
Greenhorn
Joined: Jan 14, 2010
Posts: 1
|
|
I am using Zehon SFTP program(JAVA) to upload a text file from a UNIX server to a Windows server. The problem is that windows is unable to recognize the new line characters once the file has been transferred from UNIX . In Unix the new line is \n and in Windows it is \r\n.
During an FTP transfer if we set the transmission mode to ASCII, the system will take care of converting the new line characters based on the type of the recipient OS, but unfortunately, Zehon does not support this.
Is there any way by which we can use the Zehon approach and overcome this issue.
Thanks in advance
|
 |
Pratap koritala
Ranch Hand
Joined: Sep 27, 2006
Posts: 251
|
|
I believe there are a lot of other libraries for this functionality... try using them
|
 |
 |
|
|
subject: SFTP New Line Character (Unix to Windows)
|
|
|