client:/# ftp -d 192.168.71.100 10021 Connected to 192.168.71.100. 220 sv1 FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready. ftp: setsockopt: Bad file descriptor Name (192.168.71.100:root): root ---> USER root 331 Password required for root. Password: ---> PASS XXXX 230- Linux sv1 2.6.26-2-openvz-686 #1 SMP Tue Mar 9 18:54:31 UTC 2010 i686 230- 230- The programs included with the Debian GNU/Linux system are free software; 230- the exact distribution terms for each program are described in the 230- individual files in /usr/share/doc/*/copyright. 230- 230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent 230- permitted by applicable law. 230 User root logged in. ---> SYST 215 UNIX Type: L8 (Linux) Remote system type is UNIX. Using binary mode to transfer files. ftp> get tempfile local: tempfile remote: tempfile ---> TYPE I 200 Type set to I. ftp: setsockopt (ignored): Permission denied ---> PORT 192,168,71,11,128,88 200 PORT command successful. ---> RETR tempfile 150 Opening BINARY mode data connection for 'tempfile' (4 bytes). 226 Transfer complete. 4 bytes received in 0.00 secs (32.6 kB/s) ftp> passive Passive mode on. ftp> get tempfile local: tempfile remote: tempfile ftp: setsockopt (ignored): Permission denied ---> PASV 227 Entering Passive Mode (192,168,71,100,4,3) ---> RETR tempfile 150 Opening BINARY mode data connection for 'tempfile' (4 bytes). 226 Transfer complete. 4 bytes received in 0.00 secs (31.2 kB/s) ftp> |