yanne / api-test

0 stars 0 forks source link

Add optional parameter `newlines` to `Put File` keyword #24

Closed yanne closed 10 years ago

yanne commented 10 years ago

If a textfile is transferred via PutFile from a Windows machine to a UNIX machine, the target file contains Ctrl-M´s.

An optional parameter to specify the transferMode would be helpful.

Used version: SSHLibrary 0.9

This issue was originally opened at Google Code on Aug 11, 2010.

yanne commented 10 years ago

Original comment by janne.t....@gmail.com on Nov 3, 2010.

The files are always transferred with binary mode by the underlying clients and we cannot change that behavior.

We decided to fix this by allowing user to specify which newline character should be used when writing remote file

yanne commented 10 years ago

Original comment by janne.t....@gmail.com on Nov 3, 2010.

Implemented in r93