delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/13/16:05:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E232A0E.4040406@lapo.it>
Date: Mon, 13 Jan 2003 22:05:18 +0100
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030110
X-Accept-Language: it, en, fr, es
MIME-Version: 1.0
To: Mailing List: CygWin <cygwin AT cygwin DOT com>
Subject: ncftp opening in text mode?

I doubt 'ncftp' can actually be reading the files in textmode, or else 
every binary transfer would be broken, but does anyone find another 
explanation?
(notice that the FTP server is Windows based, but it wuold be crazy to 
convert received files... moreover index.html already has 
windows-line-endings also in local, and of course the local drive is 
mounted binmode)

ncftp /www.lapo.it > put index.html

The remote file "index.html" already exists.
        Local:          6942 bytes, dated Mon Jan 13 13:26:46     2003.
        Remote:         7070 bytes, dated Mon Jan 13 22:09:59     2003.

        [O]verwrite?  [A]ppend to?  [S]kip?  [N]ew Name?
        [O!]verwrite all?  [S!]kip all?  [C]ancel  > s
ncftp /www.lapo.it > binary
ncftp /www.lapo.it > put index.html

The remote file "index.html" already exists.
        Local:          6942 bytes, dated Mon Jan 13 13:26:46     2003.
        Remote:         7070 bytes, dated Mon Jan 13 22:09:59     2003.

        [O]verwrite?  [A]ppend to?  [S]kip?  [N]ew Name?
        [O!]verwrite all?  [S!]kip all?  [C]ancel  > o
index.html:                                              6.78 kB   13.06 
kB/s 
ncftp /www.lapo.it > put index.html

The remote file "index.html" already exists.
        Local:          6942 bytes, dated Mon Jan 13 13:26:46     2003.
        Remote:         7070 bytes, dated Mon Jan 13 22:10:11     2003.

        [O]verwrite?  [A]ppend to?  [S]kip?  [N]ew Name?
        [O!]verwrite all?  [S!]kip all?  [C]ancel  > o
index.html:                                              6.78 kB   17.56 
kB/s 
ncftp /www.lapo.it >

-- 
Lapo 'Raist' Luchini
lapo AT lapo DOT it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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