From owner-freebsd-bugs Thu Mar 21 21:50:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E73BB37B41A for ; Thu, 21 Mar 2002 21:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2M5o0K27594; Thu, 21 Mar 2002 21:50:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2835C37B400 for ; Thu, 21 Mar 2002 21:44:24 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2M5iOb27151; Thu, 21 Mar 2002 21:44:24 -0800 (PST) (envelope-from nobody) Message-Id: <200203220544.g2M5iOb27151@freefall.freebsd.org> Date: Thu, 21 Mar 2002 21:44:24 -0800 (PST) From: Chun-Tien Chang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/36189: [ftpd] it can not send a file on NTFS in binary correct!! Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36189 >Category: bin >Synopsis: [ftpd] it can not send a file on NTFS in binary correct!! >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 21 21:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Chun-Tien Chang >Release: 4.5-STABLE >Organization: National Taiwan Ocean University >Environment: FreeBSD Kitty.cs.ntou.edu.tw 4.5-STABLE FreeBSD 4.5-STABLE #3: Mon Mar 11 23:52:59 CST 2002 root@Kitty.cs.ntou.edu.tw:/usr/src/sys/compile/KITTY i386 >Description: files on a mounted NTFS file system can not be downloaded correct by ftpd in binary mode. >How-To-Repeat: Kitty[~]-root# mount .... /dev/da2s1 on /mnt/da2 (ntfs, local, read-only) .... Kitty[~]-root# ftp localhost Trying 127.0.0.1... Connected to localhost. 220 Kitty.cs.ntou.edu.tw FTP server (Version 6.00LS) ready. Name (localhost:root): tcs 331 Password required for tcs. Password: 230 User tcs logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd /mnt/da2/ 250 CWD command successful. ftp> bin 200 Type set to I. ftp> get boot.ini local: boot.ini remote: boot.ini 150 Opening BINARY mode data connection for 'boot.ini' (186 bytes). 100% |*********************************************************************************************| 186 00:00 ETA 226 Transfer complete. 186 bytes received in 0.01 seconds (27.15 KB/s) ftp> bye 221 Goodbye. Kitty[~]-root# diff boot.ini /mnt/da2/boot.ini Binary files boot.ini and /mnt/da2/boot.ini differ >Fix: replace ftpd with wu-ftpd >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message