Qiangning Hong wrote:
> I want to download some jpg's whose URL is as
> http://some.site/show.php?id=100.  In firefox, the downloaded filename
> is correctly as "somefile.jpg", but if I download it using wget or curl,
> the downloaded file name is "show.php?id=100", which is not acceptable. 
> Can anyone give me a hint to use command line tool to download such kind
> of files with correct filename?
> 
> -- 
> Qiangning Hong
> Get Firefox!
> <http://www.spreadfirefox.com/?q=affiliates&amp;id=67907&amp;t=1
> <http://www.spreadfirefox.com/?q=affiliates&amp;id=67907&amp;t=1>>

wget -o filename.jpg http://some.site/show.php?id=100

-- 
[Name      ]   ::  [Matan I. Peled    ]
[Location  ]   ::  [Israel            ]
[Public Key]   ::  [0xD6F42CA5        ]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to