LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   lftp (http://www.linuxquestions.org/questions/linux-software-2/lftp-456632/)

mikeshn 06-20-2006 01:47 PM

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]

Theorist 06-20-2006 03:52 PM

Hi mikeshn,
Did you do : -
Quote:

lftp :~> set ftp:ssl-force true
With Regards,
Theorist

mikeshn 06-20-2006 04:04 PM

yes i did. .. still got the problem 'Delaying Before Reconnect'

Theorist 06-20-2006 04:17 PM

Hi mikeshn,
Can you run it in debug mode and post the message?

With Regards,
Theorist

mikeshn 06-20-2006 04:31 PM

[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

Theorist 06-21-2006 10:14 AM

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

mikeshn 06-21-2006 10:30 AM

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

Theorist 06-21-2006 12:26 PM

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

aerojazz 06-26-2006 10:27 PM

Hi,

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

aerojazz

mikeshn 09-14-2006 08:55 AM

aerojazz - do you know how to solve the problem?

t00r 04-11-2009 10:31 PM

Quote:

Originally Posted by mikeshn (Post 2301562)
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

unsigned_nerd 07-20-2011 12:44 PM

I hope this blog post will help you:

lftp error "Delaying before reconnect"

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


All times are GMT -5. The time now is 11:16 PM.