[Fwd: Bug#408579: lftp: option [-p port] ignored if a path is specified]

Noèl Köthe <[email protected]> Sun, 25 Feb 2007 12:45:29 +0100
Newsgroups gmane.network.lftp.devel
Organization Debian GNU/Linux, www.debian.org
Message-ID <[email protected]>
Hello,

a bugreport which I can reproduce with version 3.5.9

-------- Weitergeleitete Nachricht --------
> Von: Simon Paillard <[email protected]>

> 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.

-- 
Noèl Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBF4XbZ9/DnDzB9Vu0RAhdqAJ47sHKqHTC34UShEoVsTOfdlT5/yACfaQSP
83gOeDxYqGwaOhQcBZPbX+g=
=1pI7
-----END PGP SIGNATURE-----