Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 21:44:24 -0800 (PST)
From:      Chun-Tien Chang <tcs@cyber.cs.ntou.edu.tw>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/36189: [ftpd] it can not send a file on NTFS in binary correct!!
Message-ID:  <200203220544.g2M5iOb27151@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203220544.g2M5iOb27151>