# NET SCP in ASCII

**URL:** <https://www.ruby-forum.com/t/net-scp-in-ascii/174959>\
**Category:** Ruby\
**Created:** [September 4, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/net-scp-in-ascii/174959 "2009-09-04T17:25:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@adad](https://www.ruby-forum.com/u/adad)\
**Post date:** [September 4, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/net-scp-in-ascii/174959/1 "2009-09-04T17:25:10Z")

</div>

Hi,

I am on a windows box trying to scp a file from a linux box.  
Is there a way to convert the newlines from linux to dos while  
downloading the file? I dont want to create a new file on the linux box  
as the file is really huge.

-ad

---

<div class="post-metadata">

**Author:** ![adad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@adad](https://www.ruby-forum.com/u/adad)\
**Post date:** [September 4, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/net-scp-in-ascii/174959/2 "2009-09-04T21:10:51Z")

</div>

Ad Ad wrote:

> Hi,
> 
> I am on a windows box trying to scp a file from a linux box.  
> Is there a way to convert the newlines from linux to dos while  
> downloading the file? I dont want to create a new file on the linux box  
> as the file is really huge.
> 
> -ad

Are you sure that you need to do any conversion? I move files between  
AIX (IBM’s Unix) and Windows without ever doing any conversions. Most  
programs are able to handle either type of line ending.
