On 2009-02-02 10:58 -0600, Bibudh Lahiri wrote: > I want to download a file named > eq-chic.dirB.20080319-185908.UTC.anon.pcap.gz from the following location: > > https://data.caida.org/datasets/passive-2008/equinix-chicago/20080319/ > > So I typed in the following command: > > wget > https://data.caida.org/datasets/passive-2008/equinix-chicago/20080319/eq-chic.dirB.20080319-185908.UTC.anon.pcap.gz > > But I'm getting the following message: > > > --10:49:57-- > ftp://https:21/%2Fdata.caida.org/datasets/passive-2008/equinix-chicago/20080319/eq-chic.dirB.20080319-185908.UTC.anon.pcap.gz=> > `eq-chic.dirB.20080319-185908.UTC.anon.pcap.gz' > Connecting to https:21... > https: Host not found > > Could you please explain why this is happening (I can see wgetwin is > changing the URL on its own), and suggest a way out?
It looks to me like your particular build of Wget is (a) possibly quite old, and (b) doesn't have HTTPS support compiled in. It looks like it's treating https://foo as if it matched the host:path shorthand syntax for FTP URLs; more recent versions of Wget will recognize it as an unsupported scheme, and say so (I've never come across your behavior, I'm just assuming it may be how an older version of Wget worked). Where did you get your copy of Wget? I'd recommend grabbing a more recent version from http://www.christopherlewis.com/WGet/WGetFiles.htm -mjc
