I get an error when trying to use wget -O

Asked by Shirish Agarwal on 2008-03-09

Hi all,

 I tried doing shirish@Mugglewille:~/Documents$ wget "http://bits-3.topspin.net/secure/nin/nin_ghosts_I-IV_pdf.zip?ip=59.95.19.243&e=1205340105&h=7aac1824f57d6e6f3b3be78fad84498a" -O
/usr/bin/wget: option requires an argument -- O
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

Now can somebody tell me where I've gone wrong?

AFA the man is concerned it says :-

 -O file
       --output-document=file
           The documents will not be written to the appropriate files, but all will be concatenated together
           and written to file. If - is used as file, documents will be printed to standard output, disabling
           link conversion. (Use ./- to print to a file literally named -.)

           Note that a combination with -k is only well-defined for downloading a single document.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu wget Edit question
Assignee:
No assignee Edit question
Last query:
2008-03-09
Last reply:
2008-03-09

After -O option a file name is required, please try

wget "http://bits-3.topspin.net/secure/nin/nin_ghosts_I-IV_pdf.zip?ip=59.95.19.243&e=1205340105&h=7aac1824f57d6e6f3b3be78fad84498a" -O nin_ghosts_I-IV_pdf.zip

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Shirish Agarwal for more information if necessary.

To post a message you must log in.