bugGNU Wget - Bugs: bug #30718, -B/--base={URL} cmdline option...

 
 

bug #30718: -B/--base={URL} cmdline option should be used for cmdline specified URLs

Submitter:  Linda A. Walsh <law>
Submitted:  Mon 09 Aug 2010 07:49:28 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Linda Walsh Open/Closed:  Open
Release:  1.10.1 Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  No
Work Required:  None Patch Included:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 09 Aug 2010 11:44:36 PM UTC, comment #1: 

Hello,

-B is supposed to work with files specified trough -i -F.

You can achieve your desired result with this shell expansion:

wget http://doc.bazaar ... r-en-html.tar.bz2}

Giuseppe Scrivano <gscrivano>
Group administrator
Mon 09 Aug 2010 07:49:28 PM UTC, original submission:  

if I want to download multiple files or pages from a website,
my logical action would be to set the base prefix with -B and specify the pages I need on the command line.

This doesn't work -- the URL's on the command line ignore the base-prefix set on the command line.

Example: (all one line)
wget -B http://doc.bazaar ... zr.2.1/downloads/ bzr-developers-html.tar.bz2 bzr-developers-chm bzr-en-html.tar.bz2

Instead of downloading the requested files, I get:
http://bzr-develo ... ers-html.tar.bz2/:
12:47:28 ERROR 503: Service Unavailable.
http://bzr-d ... elopers-chm/:
12:47:28 ERROR 503: Service Unavailable.
http://bzr-e ... tml.tar.bz2/:
12:47:28 ERROR 503: Service Unavailable.

Linda A. Walsh <law>

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by law (Submitted the item)
  •  

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code