LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lftp cant' connect (https://www.linuxquestions.org/questions/linux-newbie-8/lftp-cant-connect-588888/)

tekmann33 10-02-2007 10:08 AM

lftp cant' connect
 
Im am trying to learn the basics of ftp. I have lftp already installed on two computers and it appears that I can connect:

[
Code:

root@FireCracker ~]# lftp -u bclanton 10.3.0.50
Password:
lftp bclanton@10.3.0.50:~>

10.3.0.50 is the remote machine and 10.3.0.99 is my local machine.

However, when I try to run any command I get the following result: There is a "Delaying before reconnect" message that counts off until I stop the process:

Code:

lftp bclanton@10.3.0.50:~> put test
`test' at 0 (0%) [Delaying before reconnect: 49] 
Interrupt

Does anyone what this is?

matthewg42 10-02-2007 11:36 AM

I used lftp a while ago, and I seem to remember it doesn't wait for the connection to actually finished before giving you the prompt back. Either it is trying the login in the background, or it doesn't actually try to connect until you issue the next command.

To diagnose the problem, I'd start by pinging the target machine. If that works, try logging in with a regular FTP client. lftp's selling point is to be "sophisticated" by doing stuff in the background, allowing muliple simultaneous downloads in the same process etc. but that makes it more complicated to use.

If you are trying to learn about FTP in general, it's probably better to be using a standard FTP client rather than lftp, as what you learn will be applicable everywhere.

tekmann33 10-02-2007 02:45 PM

I've installed vsftpd on the remote computer and that works much better.

Thanks


All times are GMT -5. The time now is 03:34 PM.