Bug 751457 - wget gets the file name messed up when downloading from koji
Summary: wget gets the file name messed up when downloading from koji
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: wget
Version: 16
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-04 19:22 UTC by Horst H. von Brand
Modified: 2011-11-04 19:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-04 19:27:29 UTC
Type: ---


Attachments (Terms of Use)

Description Horst H. von Brand 2011-11-04 19:22:19 UTC
Description of problem:
I got a file from koji:
$ wget 'http://koji.fedoraproject.org/koji/getfile?taskID=3488187&name=xpdf-3.03-1.fc16.1.src.rpm'

And the downloaded file is called "getfile?taskID=3488187&name=xpdf-3.03-1.fc16.1.src.rpm"

Version-Release number of selected component (if applicable):
wget-1.12-4.fc16,x86_64

How reproducible:
See above.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
Sane filename..

Additional info:
I'm not sure if the "getfile?" interface is in any way standard, if it is it would be nice to handle it. If it isn't, too bad.

Comment 1 Karsten Hopp 2011-11-04 19:27:29 UTC
you need to add the --content-disposition  parameter


Note You need to log in before you can comment on or make changes to this bug.