I use the lftp in order to get the file.txt from Linux machine 12.18.21.15 (red hat - 5.3)
my linux login/password:
login - diana
password - diana123
IP - 12.18.21.10
I have a problem that lftp can't get the file.txt , Please advise what I need to check? What could be the problem?
lftp -u diana,diana123 12.18.21.15 -e "get file.txt ; exit "
`file.txt' at 0 [Delaying before reconnect: 22]
DEBUG MODE
lftp -d -u diana,diana123 12.18.21.15 -e "get file.txt ; exit "
---- Connecting to 12.18.21.15 (12.18.21.15) port 21
**** Socket error (Connection refused) - reconnecting
---- Closing control socket
`file.txt' at 0 [Delaying before reconnect: 14]
I also performed:
telnet 12.18.21.15 21
Trying 12.18.21.15...
telnet: connect to address 12.18.21.15: Connection refused
ftp 12.18.21.15
ftp: connect: Connection refused
ftp> exit
I check my machine - 12.18.21.10
rpm -qa | grep ftp
ftp-0.17-17.2
tftp-0.39-0.EL3.4
lftp-2.6.3-6
vsftpd-1.2.1-3E.6
# ps -ef | grep ftp | grep -v grep
root 2302 1 0 Oct27 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
Remark --> I have ping to 12.18.21.15 linux machine , and also ssh/scp...etc !
view from the remote linux machine - 12.18.21.15
[root@linux ~]# su - diana
[diana@linux ~]$ pwd
/home/diana
[diana@linux ~]$ ls
file.txt