LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2006, 01:47 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Rep: Reputation: 30
lftp


I'm trying to connect to ftp server over SSL/TLS.
Why do I get the error message when I try to 'ls'.

`ls` at 0 [Delaying before reconnect: 10]
 
Old 06-20-2006, 03:52 PM   #2
Theorist
Member
 
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
Hi mikeshn,
Did you do : -
Quote:
lftp :~> set ftp:ssl-force true
With Regards,
Theorist
 
Old 06-20-2006, 04:04 PM   #3
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Original Poster
Rep: Reputation: 30
yes i did. .. still got the problem 'Delaying Before Reconnect'
 
Old 06-20-2006, 04:17 PM   #4
Theorist
Member
 
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
Hi mikeshn,
Can you run it in debug mode and post the message?

With Regards,
Theorist
 
Old 06-20-2006, 04:31 PM   #5
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Original Poster
Rep: Reputation: 30
[mike@Devel ~]$ lftp -d
lftp :~> open ftp.server.com 990
---- Resolving host address...
---- 1 address found
lftp ftp.server.com:~> set ftp:ssl-force true
lftp ftp.server.com:~> login -u mer44 -p 74974845C807AE17BA13A
Usage: login userid [pass]
lftp ftp.server.com:~> ls
---- Connecting to ftp.server.com (**.**.**.**) port 21
**** Socket error (Connection refused) - reconnecting
---- Closing control socket
Interrupt
 
Old 06-21-2006, 10:14 AM   #6
Theorist
Member
 
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
Hi mikeshn,
You are not getting connected to the server because you have not logged in properly, that was why it responded saying that the usage of login command that you did is wrong and was : -
Quote:
lftp ftp.server.com:~> login -u mer44 -p 74974845C807AE17BA13A
Usage: login userid [pass]
May I know what you tried to do by the login command as above?

If it is the password that you wanted to give then, you should do it as follows : -
Quote:
lftp ftp.server.com:~> login username password
With Regards,
Theorist
 
Old 06-21-2006, 10:30 AM   #7
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Original Poster
Rep: Reputation: 30
I still cannot get in.. Even using this command
login mer44 74974845C807AE17BA13A

Also,
Why does it says port 21 .. I'm connecting to port 990

lftp ftp.server.com:~> ls
---- Connecting to ftp.server.com (**.**.**.**) port 21
**** Socket error (Connection refused) - reconnecting
---- Closing control socket
 
Old 06-21-2006, 12:26 PM   #8
Theorist
Member
 
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
Hi mikeshn,
Port 21 is the FTP server's standard command port. The port number 990 that you specify is your, i.e., the client side port number.

Where you able to login properly?

With Regards,
Theorist
 
Old 06-26-2006, 10:27 PM   #9
aerojazz
Member
 
Registered: Apr 2006
Posts: 33

Rep: Reputation: 15
Hi,

I got same problem with mikeshn.pls help.do i need to turn on the ftp or lftp?how is it? Thanks

aerojazz
 
Old 09-14-2006, 08:55 AM   #10
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Original Poster
Rep: Reputation: 30
aerojazz - do you know how to solve the problem?
 
Old 04-11-2009, 10:31 PM   #11
t00r
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by mikeshn View Post
I still cannot get in.. Even using this command
login mer44 74974845C807AE17BA13A

Also,
Why does it says port 21 .. I'm connecting to port 990

lftp ftp.server.com:~> ls
---- Connecting to ftp.server.com (**.**.**.**) port 21
**** Socket error (Connection refused) - reconnecting
---- Closing control socket
maybe you can try specify the port number

Code:
-p 990
 
Old 07-20-2011, 12:44 PM   #12
unsigned_nerd
LQ Newbie
 
Registered: Jan 2005
Location: Bangkok
Distribution: Grml Linux
Posts: 6

Rep: Reputation: 0
I hope this blog post will help you:

lftp error "Delaying before reconnect"

http://unsigned-nerd.blogspot.com/20...ftp-issue.html
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp problem bipins1979 Linux - General 1 06-21-2006 10:20 AM
lftp HELP knappster Linux - Software 2 08-03-2004 10:34 AM
lftp Scripting kittani Linux - Software 1 06-19-2004 11:28 AM
about lftp oskernel Linux - Software 1 10-29-2003 02:14 PM
Is lftp installed by default on... Coolrunr Linux - Software 3 09-30-2003 05:02 PM


All times are GMT -5. The time now is 09:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration