You are not logged in.

#1 2012-05-07 14:32:05

Jofsey
Member
Registered: 2012-03-03
Posts: 15

[Solved] Difference between wget and browser file downloading

I have a direct link http://oocairo.naquadah.org/dist/oocairo-1.4.tar.bz2

And it's downloading fine throught chromium web browser. But

wget http://oocairo.naquadah.org/dist/oocairo-1.4.tar.bz2

isn't working. Why?

Last edited by Jofsey (2012-07-21 05:27:14)

Offline

#2 2012-05-07 14:41:39

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Difference between wget and browser file downloading

What does wget tell you when you try?


Burninate!

Offline

#3 2012-05-07 14:46:42

Jofsey
Member
Registered: 2012-03-03
Posts: 15

Re: [Solved] Difference between wget and browser file downloading

wget http://oocairo.naquadah.org/dist/oocairo-1.4.tar.bz2
--2012-05-07 18:44:44--  http://oocairo.naquadah.org/dist/oocairo-1.4.tar.bz2
Parsing oocairo.naquadah.org... 2a02:2178:2:4::174, 212.85.154.174
Connecting to oocairo.naquadah.org|2a02:2178:2:4::174|:80... 

Whereupon it hangs.

Offline

#4 2012-05-07 14:48:48

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Difference between wget and browser file downloading

Does it work if you try the following?

wget -4 http://oocairo.naquadah.org/dist/oocairo-1.4.tar.bz2

Burninate!

Offline

#5 2012-05-07 15:04:06

Jofsey
Member
Registered: 2012-03-03
Posts: 15

Re: [Solved] Difference between wget and browser file downloading

Yes, problem was in IPv6 using. Thanks!
But why wget decide to use it, considering I switch it off on my router?

Offline

#6 2012-05-07 15:07:50

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Difference between wget and browser file downloading

If you're not on an ipv6 link, you could also tell wget to not try ipv6 lookups at all by adding the following to ~/.wgetrc

inet4_only = on

Burninate!

Offline

Board footer

Powered by FluxBB