On Thu, Mar 01, 2001 at 03:00:25PM -0600, Brusha, Sherry A wrote:
> We have a question regarding transferring text files created on
> our Unix machines to a Windows machine.  When we transfer text
> files from Unix to Windows using SSH the text files are
> transferred as binary.  Is there a way to tell SSH to keep the
> text formatting and not send the text files as a binary file?

Sure.  Run this filter on your files beforehand:

    perl -pe 's/$/\r/'

:)

Seriously, though, I've never seen anything in any ssh docs that
might imply that it does "Unix mode" -> "DOS mode" text file
translation.  ssh does all transfers in binary; anything else,
you get to do yourself.

-- Larry

Reply via email to