tags 742193 + confirmed upstream
forwarded 742193 https://github.com/lavv17/lftp/issues/62
thanks

Hello Christoph,

Am Donnerstag, den 20.03.2014, 15:07 +0100 schrieb Christoph Berg:

> my usecase for lftp is using the mget command on http directories:
> 
> lftp -c 'mget http://foo.postgresql.org/bar/*.bz2'
> 
> Unfortunately this doesn't work anymore:
> 
> mget: /bar/*.bz2: no files found
> 
> This was working fine in wheezy.
> 
> /bar/ is a standard directory listing (from lighttpd in this case).

I can confirm this and reported it upstream:

wheezy: 
$ lftp -d -c 'mget http://ftp.postgresql.org/pub/source/v9.3.4/*.bz2'
---- Resolving host address...
---- 8 addresses found: 2001:4800:7903:1::133, 2a02:c0:301:0:ffff::27, 
2a00:f10:111:50::228, 2a02:16a8:dc51::55, 217.196.149.55, 87.238.57.227, 
213.189.17.228, 67.192.136.133
---- Connecting to ftp.postgresql.org (2001:4800:7903:1::133) port 80
---- Sending request...                                             
---> GET /pub/source/v9.3.4/ HTTP/1.1
---> Host: ftp.postgresql.org
---> User-Agent: lftp/4.3.6
---> Accept: */*
---> Connection: keep-alive
---> 
<--- HTTP/1.1 200 OK                                                          
<--- Content-Type: text/html; charset=utf-8
<--- Content-Length: 2539
<--- Date: Sun, 23 Mar 2014 17:55:40 GMT
<--- Server: lighttpd/1.4.31
<--- 
---- Receiving body...
---- Received all
---- Sending request...
---> GET /pub/source/v9.3.4/postgresql-9.3.4.tar.bz2 HTTP/1.1
---> Host: ftp.postgresql.org
---> User-Agent: lftp/4.3.6
---> Accept: */*
---> Connection: keep-alive
---> 
<--- HTTP/1.1 200 OK                                                          
<--- Content-Type: application/x-bzip
<--- Accept-Ranges: bytes
<--- ETag: "3126822139"
<--- Last-Modified: Mon, 17 Mar 2014 19:45:15 GMT
<--- Content-Length: 16691447
<--- Date: Sun, 23 Mar 2014 17:55:40 GMT
<--- Server: lighttpd/1.4.31
<--- 
---- Receiving body...
---- Received all                                                               
             
---- Closing HTTP connection
$ 

jessie/sid:
$ lftp -d -c 'mget http://ftp.postgresql.org/pub/source/v9.3.4/*.bz2'
---- Resolving host address...
---- 8 addresses found: 2001:4800:7903:1::133, 2a00:f10:111:50::228, 
2a02:c0:301:0:ffff::27, 2a02:16a8:dc51::55, 217.196.149.55, 67.192.136.133, 
87.238.57.227, 213.189.17.228
---- Connecting to ftp.postgresql.org (2001:4800:7903:1::133) port 80
---- Sending request...                                             
---> GET /pub/source/v9.3.4/ HTTP/1.1
---> Host: ftp.postgresql.org
---> User-Agent: lftp/4.4.13
---> Accept: */*
---> Connection: keep-alive
---> 
<--- HTTP/1.1 200 OK                                                          
<--- Content-Type: text/html; charset=utf-8
<--- Content-Length: 2539
<--- Date: Sun, 23 Mar 2014 17:53:02 GMT
<--- Server: lighttpd/1.4.31
<--- 
---- Receiving body...
---- Received all
---- Closing HTTP connection
mget: /pub/source/v9.3.4/*.bz2: no files found
$ 

It isn't a general problem. e.g. with apache it work:
$ lftp -d -c 'mget http://ftp.de.debian.org/debian/pool/main/w/worker/*.bz2'

Regards

        Noël

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to