Wget or Curl Issue
I am trying to download a tar.gz file using either wget or curl. However, the direct file is behind a URL.
https://pm.puppetlabs.com/cgi-bin/do..._64&ver=latest Therefore when the options I have tried it only downloads about 112k worth of data rather then the 300MB it should download. Any hints. I know this should be straightforward but am I missing something? |
Please show the command you are using?
|
this worx for me:
Code:
[schneidz@hyper ~]$ wget 'https://pm.puppetlabs.com/cgi-bin/download.cgi?dist=el&rel=6&arch=x86_64&ver=latest' |
Yes, with the' ' it works for me as well.
Thanks |
Please remember to mark as solved once you have a solution.
|
The "Why it works" is because of the special characters used in the URL: the ? and & characters. the ? is the wildcard substitution and & for putting the command into the background.
|
All times are GMT -5. The time now is 02:44 AM. |