Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-02-2007, 10:08 AM   #1
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
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:

root@FireCracker ~]# lftp -u bclanton
lftp bclanton@> is the remote machine and 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:

lftp bclanton@> put test
`test' at 0 (0%) [Delaying before reconnect: 49]  
Does anyone what this is?
Old 10-02-2007, 11:36 AM   #2
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
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.
Old 10-02-2007, 02:45 PM   #3
Registered: Nov 2006
Posts: 188

Original Poster
Rep: Reputation: 30
I've installed vsftpd on the remote computer and that works much better.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp mikeshn Linux - Software 11 07-20-2011 12:44 PM
problem in lftp gopi_raghu Linux - Software 2 02-08-2007 05:31 AM
lftp problem bipins1979 Linux - General 1 06-21-2006 10:20 AM
lftp HELP knappster Linux - Software 2 08-03-2004 10:34 AM
about lftp oskernel Linux - Software 1 10-29-2003 02:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration