Re: IT Ticket 1636909 - FTP "size" problem
Gregory Hicks <[email protected]> Wed, 29 Jun 2005 13:54:50 -0700 (PDT)
| Newsgroups | gmane.network.ftp.wuftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Gopi: One of my customers believes that our wu-ftpd 2.6.2 ftp server is slightly borken. " When in binary mode (TYPE I), the server is *always* returning zero from the SIZE command. I believe this is an error" I tried to isolate this and found that it, however, we restart the ftp connection, we can get the correct results (I think! But I just noticed that the last set of data points is not in binary mode...): ftp> quote size welcome.msg 213 2518 ftp> cd pub ftp> quote size axlxt.tgz 213 4799355 ftp> ftp> send xerox.asf 200 PORT command successful. 150 Opening BINARY mode data connection for xerox.asf. 226 Transfer complete. local: xerox.asf remote: xerox.asf 961003 bytes sent in 0.28 seconds (3316.67 Kbytes/s) ftp> quote size xerox.asf 213 0 ftp> quot size xerox.asf 213 0 ftp> metis% ftp ftp Connected to ftp. 220 ftp FTP server (Version wu-2.6.2(1) Mon Feb 24 20:50:00 PST 2003) ready. Name (ftp:ghicks): ftp 331 Guest login ok, send your complete e-mail address as password. Password: ftp> cd pub 250 CWD command successful. ftp> quot size xerox.asf 213 966160 ftp> Any thoughts? Regards, Gregory Hicks ------------------------------------------------------------------- Gregory Hicks | Principal Systems Engineer Cadence Design Systems | Direct: 408.576.3609 555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3400 San Jose, CA 95134 | Internet: [email protected] I am perfectly capable of learning from my mistakes. I will surely learn a great deal today. "A democracy is a sheep and two wolves deciding on what to have for lunch. Freedom is a well armed sheep contesting the results of the decision." - Benjamin Franklin "The best we can hope for concerning the people at large is that they be properly armed." --Alexander Hamilton