[prev in list] [next in list] [prev in thread] [next in thread]
List: wget
Subject: Generated flename too long
From: John Summerfield <summer () corridors ! wa ! edu ! au>
Date: 2007-03-25 12:28:24
Message-ID: 200703252028.24780.summer () corridors ! wa ! edu ! au
[Download RAW message or body]
One could argue whether it's a bug, or whose bug it ism but we can agree it's
a problem that's probably easier to fix in wget than to reeducate the world's
webmasters.
summer@Lyrebird:~> wget -pP
SharePrices/info 'http://asx.com.au/asx/research/chartsSearchResult.jsp?asxCode=GTP&TimeFrame=D6&compare=index&indices=XJO#'
--19:54:14--
http://asx.com.au/asx/research/chartsSearchResult.jsp?asxCode=GTP&TimeFrame=D6&compare=index&indices=XJO
=>
`SharePrices/info/asx.com.au/asx/research/chartsSearchResult.jsp?asxCode=GTP&TimeFrame=D6&compare=index&indices=XJO'
Resolving asx.com.au... 203.15.147.66
Connecting to asx.com.au|203.15.147.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25,920 (25K) [text/html]
100%[=========================================================================>]
25,920 3.71K/s ETA 00:00
19:54:23 (3.71 KB/s) -
`SharePrices/info/asx.com.au/asx/research/chartsSearchResult.jsp?asxCode=GTP&TimeFrame=D6&compare=index&indices=XJO' \
saved [25920/25920]
Loading robots.txt; please ignore errors.
--19:54:23-- http://asx.com.au/robots.txt
=> `SharePrices/info/asx.com.au/robots.txt'
Reusing existing connection to asx.com.au:80.
HTTP request sent, awaiting response... 200 OK
Length: 742 [text/plain]
100%[=========================================================================>]
742 --.--K/s
19:54:24 (38.97 MB/s) - `SharePrices/info/asx.com.au/robots.txt' saved
[742/742]
--19:54:24--
http://asx.com.au/asxcharting/CisServGif?RequestType=ByName&UseSession=False&GifRespon \
se=image&fresh=false&extgif=true&caller=sharenet&volval=VOL&periods=D6&spread=LAST&sia \
fsec1=S&sec1=GTP&divn1=0&siafsec2=I&sec2=XJO&divn2=0&siafsec3=I&sec3=MA&divn3=0&extcsv=false&reducefact=80&fromdate=25/09/2006&todate=25/03/2007
=>
`SharePrices/info/asx.com.au/asxcharting/CisServGif?RequestType=ByName&UseSession=Fals \
e&GifResponse=image&fresh=false&extgif=true&caller=sharenet&volval=VOL&periods=D6&spre \
ad=LAST&siafsec1=S&sec1=GTP&divn1=0&siafsec2=I&sec2=XJO&divn2=0&siafsec3=I&sec3=MA&divn3=0&extcsv=false&reducefact=80&fromdate=25%2F09%2F2006&todate=25%2F03%2F2007'
Reusing existing connection to asx.com.au:80.
HTTP request sent, awaiting response... 200 OK
Length: 14,924 (15K) [image/gif]
SharePrices/info/asx.com.au/asxcharting/CisServGif?RequestType=ByName&UseSession=False \
&GifResponse=image&fresh=false&extgif=true&caller=sharenet&volval=VOL&periods=D6&sprea \
d=LAST&siafsec1=S&sec1=GTP&divn1=0&siafsec2=I&sec2=XJO&divn2=0&siafsec3=I&sec3=MA&divn3=0&extcsv=false&reducefact=80&fromdate=25%2F09%2F2006&todate=25%2F03%2F2007: \
File name too long
Cannot write to
`SharePrices/info/asx.com.au/asxcharting/CisServGif?RequestType=ByName&UseSession=Fals \
e&GifResponse=image&fresh=false&extgif=true&caller=sharenet&volval=VOL&periods=D6&spre \
ad=LAST&siafsec1=S&sec1=GTP&divn1=0&siafsec2=I&sec2=XJO&divn2=0&siafsec3=I&sec3=MA&divn3=0&extcsv=false&reducefact=80&fromdate=25%2F09%2F2006&todate=25%2F03%2F2007' \
(File name too long).
FINISHED --19:54:24--
Downloaded: 26,662 bytes in 2 files
summer@Lyrebird:~> man wget
Reformatting wget(1), please wait...
summer@Lyrebird:~>
This probably tells you enough about the version:
summer@Lyrebird:~> rpm -qi wget
Name : wget Relocations: (not relocatable)
Version : 1.10.2 Vendor: SUSE LINUX Products
GmbH, Nuernberg, Germany
Release : 35 Build Date: Sat 25 Nov 2006
23:54:26 WST
Install Date: Sat 17 Feb 2007 22:42:59 WST Build Host: tux.suse.de
Group : Productivity/Networking/Web/Utilities Source RPM:
wget-1.10.2-35.src.rpm
Size : 1536924 License: GNU General Public
License (GPL)
Signature : DSA/SHA1, Sun 26 Nov 2006 00:02:32 WST, Key ID a84edae89c800aca
Packager : http://bugs.opensuse.org
URL : http://wget.sunsite.dk/
Summary : A Tool for Mirroring FTP and HTTP Servers
Description :
Wget enables you to retrieve WWW documents or FTP files from a server.
This can be done in script files or via the command line.
Authors:
--------
Hrvoje Niksic <hniksic@srce.hr>
Distribution: openSUSE 10.2 (i586)
summer@Lyrebird:~>
A crude Hack might be to use mktemp to create a file, and imbed meta
information in comments in the document linking to it. Would be useful to
maintain a table of such transformations to ensure reuse of files where
appropriate.
A related issue is the file name used for the initial document; I'm not fond
of all the parameters to CGI, JSP, ASP etc being embedded into the file name.
I don't like this name very well:
-rw-r--r-- 1 summer summer 1775634 2007/03/23 23:02:41
2007.zip?format=metastock&volume=1&traded=on&csv=on&ticker=
What do you say?
--
Cheers
John Summerfield
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic