This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: inetutils 1.5-4, ftp + inline password immediately quits
On Mon, Sep 15, 2008 at 11:35 AM, Andrew DeFaria <Andrew@defaria.com> wrote:
> Robinson, Paul T (NonStop) wrote:
>
>>> From: Andrew DeFaria [mailto:Andrew@DeFaria.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/