LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-02-2007, 10:08 AM   #1
tekmann33
Member
 
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:

[
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?
 
Old 10-02-2007, 11:36 AM   #2
matthewg42
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
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

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

Thanks
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 AM.

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