Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101181 - wget can't do recursive retrieval on ftp with proxy
Summary: wget can't do recursive retrieval on ftp with proxy
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 03:37 UTC by Honza
Modified: 2007-07-12 13:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Honza 2005-08-03 03:37:34 UTC
When doing recursive retriaval on ftp, wget (net-misc/wget-1.9.1-r5) is using
ftp glob function. That's probably while standard recursion code is not used on
ftp. Problem is when later proxy is detected and http code is used instead ...
without recursion. So only directory file (index.html generated by proxy) is
downloaded.

Reproducible: Always
Steps to Reproduce:
1. ftp_proxy=10.0.3.16:3128 wget --debug -v -v -r --follow-ftp -H -A
proxy.kancelar.seznam.cz,sunsite.ms.mff.cuni.cz
ftp://sunsite.ms.mff.cuni.cz/OS/Linux/Kernel/v2.6/incr/
or 2 (simpler). ftp_proxy=10.0.3.16:3128 wget -r
ftp://sunsite.ms.mff.cuni.cz/OS/Linux/Kernel/v2.6/incr/

Actual Results:  
Only index.html was downloaded.

Expected Results:  
Download whole directory.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mcpu=pentium4 -mmmx -msse -msse2 -mfpmath=sse
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -mcpu=pentium4 -mmmx -msse -msse2 -mfpmath=sse
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 caps
cdr crypt cups curl dga divx4linux doc eds emboss encode erandom esd flac
foomaticdb fortran fpx gcj gd gdbm gif gpm graphviz gstreamer gtk gtk2
imagemagick imlib innodb ipv6 java jbig jpeg lcms lesstif libcaca libg++ libwww
live lzo mad mailwrapper mbox mcal memlimit mikmod mmx mng motif mozilla mp3
mpeg multislot mysql ncurses network nls ogg oggvorbis opengl oss pam pdflib
perl pic png python qt quicktime readline real samba sdl slang snmp spell sqlite
sse ssl svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode
usb userlocales vhosts videos vorbis wmf xgetdefault xml xml2 xmms xosd xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-03 06:27:49 UTC
> Assignee:  	 net-misc@gentoo.org  did not match anything

please fix metadata.xml or alias
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-03 06:28:10 UTC
.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-09-15 13:53:36 UTC
Honza, you probably want to file this upstream and track there.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-01 00:27:33 UTC
Is this still even remotely relevant?