I just upgraded a few RH 6.2 servers with wu-ftpd-2.6.1-0.6x.21.i386.rpm 
when I noticed that "ftpd" is broken. Now wu-ftp is not always copying 
the complete file any more. Here is how you can reproduce this problem on 
your 6.2 servers. (I didn't get a chance yet to test the new wu-ftp 
version on 7.2 servers.)

In order to reproduce this problem you have to ftp to a 6.2 server where 
you installed wu-ftpd-2.6.1-0.6x.21.i386.rpm. But when you are asked for 
the password, provide the wrong password. After that try to login again
but this time by executing "user <account>" within ftp. Once you are 
logged in, try to do a get of the file wu-ftpd-2.6.1-0.6x.21.i386.rpm. 
I nodiced that it depends on the size of the file.

Here is an example:

linux2:userp$ ftp linux1
Connected to linux1.pjm.com.
220 linux1 FTP server (Version wu-2.6.1-0.6x.21) ready.
Name (linux1:userp):
331 Password required for userp.
Password:
530 Login incorrect.
Login failed.
ftp> user userp
331 Password required for userp.
Password:
230 User userp logged in.
ftp> cd /tmp
250 CWD command successful.
ftp> get wu-ftpd-2.6.1-0.6x.21.i386.rpm
local: wu-ftpd-2.6.1-0.6x.21.i386.rpm remote: 
wu-ftpd-2.6.1-0.6x.21.i386.rpm
200 PORT command successful.
150 Opening ASCII mode data connection for wu-ftpd-2.6.1-0.6x.21.i386.rpm (216611 
bytes).
226 Transfer complete.
217388 bytes received in 0.0741 secs (2.9e+03 Kbytes/sec)
ftp> quit
221-You have transferred 217388 bytes in 1 files.
221-Total traffic for this session was 217945 bytes in 1 transfers.
221 Thank you for using the FTP service on linux1.
linux2:userp$
linux2:userp$ ls -al wu-ftpd-2.6.1-0.6x.21.i386.rpm 
-rw-r--r--    1 userp   users      216604 Nov 30 15:10 wu-ftpd-2.6.1-0.6x.21.i386.rpm
linux2:userp$


As you can see, ftp says that it copied 216611 bytes, but it copied only 
216604 bytes! I did not had this problem with older wu-ftpd versions.

Werner



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to