delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/15/12:50:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <b609cb3b0809150948n3d025e34rdd49f2744c5aa362@mail.gmail.com>
Date: Mon, 15 Sep 2008 12:48:37 -0400
From: NightStrike <nightstrike AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: inetutils 1.5-4, ftp + inline password immediately quits
In-Reply-To: <galvbl$p9s$1@ger.gmane.org>
MIME-Version: 1.0
References: <80691F93310244D3B54C123EB2F49270 AT DFW5RB41> <FF11D7888294514695EB8D150B5F5FBE2898B50167 AT GVW0436EXB DOT americas DOT hpqcorp DOT net> <galvbl$p9s$1 AT ger DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Sep 15, 2008 at 11:35 AM, Andrew DeFaria <Andrew AT defaria DOT com> wrote:
> Robinson, Paul T (NonStop) wrote:
>
>>> From: Andrew DeFaria [mailto:Andrew AT DeFaria DOT com]
>>>
>>> Or how 'bout.... <drum roll>
>>>
>>> scp!
>>
>> Probably would not work in my case, the other end of the connection is a
>> non-Windows box that cares deeply about the difference between ascii and
>> binary files--not clear to me that scp makes a distinction. Also that box
>> has a split personality (which is why we need the 'quote' command in ftp
>> sometimes, to tell it which personality to use) and I don't see any way for
>> scp to handle that.
>
> Seems to me like this would be pretty easy to test...

The only purpose of an ascii transfer is to convert text conventions
(line endings, ascii/ebdcii encoding, etc).  With scp, this does not
happen, as scp is a drop in replacement for cp/rcp.  Instead, you have
to combine it with a dos2unix command of some sort to do the convesion
yourself.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019