Hi,

I use lftp as an ftp client at debug level 3, that has a right balance
between quantity of messages and informativeness for me. The only
thing that I dislike is the reason of (temporary) errors on FTP login
only printed at level 4, but that's too chatty for everyday use. The
ftp server welcome message is printed at level 3, so the temporary
login errors also should be, IMO.

Sometimes, the temporary login error could be solved only with user
interaction on non-anonymous logins, for example: "530 Sorry, your
account is restricted to 2 simultaneous logins." - So I think, lftp
should print it at relative low debug level.

Here's a session with debug level 3, when I've too many simultaneous
logins on server:
---- Connecting to yyy.xxx (1.2.3.4) port 21
<--- 220 Debian (glFTPd 2.00 Linux+TLS) ready.
---- Connecting to yyy.xxx (1.2.3.4) port 21
<--- 220 Debian (glFTPd 2.00 Linux+TLS) ready.
---- Connecting to yyy.xxx (1.2.3.4) port 21
<--- 220 Debian (glFTPd 2.00 Linux+TLS) ready.
cd `ftp://[email protected]:21/' [Delaying before reconnect: 19]
[...]

I think the following would be more serried:
---- Connecting to yyy.xxx (1.2.3.4) port 21
<--- 220 Debian (glFTPd 2.00 Linux+TLS) ready.
---- 530 Sorry, your account is restricted to 2 simultaneous logins.
---- Connecting to yyy.xxx (1.2.3.4) port 21
<--- 220 Debian (glFTPd 2.00 Linux+TLS) ready.
---- 530 Sorry, your account is restricted to 2 simultaneous logins.
---- Connecting to yyy.xxx (1.2.3.4) port 21
<--- 220 Debian (glFTPd 2.00 Linux+TLS) ready.
---- 530 Sorry, your account is restricted to 2 simultaneous logins.
cd `ftp://[email protected]:21/' [Delaying before reconnect: 19]
[...]


Please consider it. I made a really simple patch for lftp-4.0.4, attached.


Thanks,
--
 Roland Pallai
 Magex Solutions Ltd.

Attachment: lftp-print-temperror-on-login.patch
Description: Binary data

Reply via email to