[Bug 1254400] Re: Wget don't download files with ( ) in url.

Sami Jaktholm 1254400 at bugs.launchpad.net
Sun Nov 24 08:44:43 UTC 2013


This is not a bug in wget, it's just how the command line works.

The parenthesis "()" are both reserved to be used by the bash shell (command line). Thus you must either escape the parenthesis in the URL by replacing ( with \( and ) with \) or making the URL to download string by wrapping it in quotation marks. So following commands will work:
wget -c "http://www.evonemusic.com/downloads/Evolution%20One%20~%20For%20Your%20Consideration%20(Promo)%20(2013).rar"

wget -c
http://www.evonemusic.com/downloads/Evolution%20One%20~%20For%20Your%20Consideration%20\(Promo\)%20\(2013\).rar

Thanks for your report anyway!

** Changed in: wget (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1254400

Title:
  Wget don't download files with ( ) in url.

Status in “wget” package in Ubuntu:
  Invalid

Bug description:
  Url =
  http://www.evonemusic.com/downloads/Evolution%20One%20~%20For%20Your%20Consideration%20(Promo)%20(2013).rar

  Log:

  isshin at kurosaki:~$ wget -c http://www.evonemusic.com/downloads/Evolution%20One%20~%20For%20Your%20Consideration%20(Promo)%20(2013).rar
  bash: ошибка синтаксиса около неожиданной лексемы `('
  isshin at kurosaki:~$ wget http://www.evonemusic.com/downloads/Evolution%20One%20~%20For%20Your%20Consideration%20(Promo)%20(2013).rar
  bash: ошибка синтаксиса около неожиданной лексемы `('
  isshin at kurosaki:~$ 


  
  Syntaxis error while unexpected string `(' or something (you can reproduce this bug).
  Version of wget - 1.14-2ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1254400/+subscriptions



More information about the foundations-bugs mailing list