ncftp opening in text mode?

Lapo Luchini lapo@lapo.it
Mon Jan 13 22:42:00 GMT 2003


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@lapo.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/



More information about the Cygwin mailing list