Package: lftp
Version: 3.5.6-1
Severity: normal

Depending on the specification of a path ("/" is considered as a path)
or not, the option [-p port] can be ignored.

See the difference in the handling:

$ lftp -d -p 23 ftp://ftp.fr.debian.org/
[...]
---- Connecting to ftp.fr.debian.org (212.27.32.66) port 21


lftp -d -p 23 ftp://ftp.fr.debian.org
lftp ftp.fr.debian.org:~> ls
---- Connecting to ftp.fr.debian.org (212.27.32.66) port 23
**** Socket error (Connection refused) - reconnecting

Obviously this problem does not depend on the protocol, they are all
affected: ftps, sftp, http and so on..

The bug is certainly in src/url.cc, but I cannot find where it is ..

This can be workarounded with proto://host:PORT/path urls

Note that this problem doesn't affect the sarge version 3.1.3-1.

Regards,


-- 
Simon Paillard

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (999, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages lftp depends on:
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libexpat1                   1.95.8-3.4   XML parsing C library - runtime li
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libgcrypt11                 1.2.3-2      LGPL Crypto library - runtime libr
ii  libgnutls13                 1.4.4-3      the GNU TLS library - runtime libr
ii  libgpg-error0               1.4-2        library for common error values an
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  libreadline5                5.2-2        GNU readline and history libraries
ii  libtasn1-3                  0.3.6-2      Manage ASN.1 structures (runtime)
ii  netbase                     4.28         Basic TCP/IP networking system
ii  zlib1g                      1:1.2.3-13   compression library - runtime

lftp recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to