curl vs wget to download stemcells
Quintessence Anx
I am experiencing something a bit unexpected when I try to download the AWS
stemcells with wget and curl. I'm trying to download the latest version, so for curl I enter: curl -L -J -O https://bosh.io/d/stemcells/bosh-aws-xen-ubuntu-trusty-go_agent For wget I enter: wget --content-disposition --no-check-certificate https://bosh.io/d/stemcells/bosh-aws-xen-ubuntu-trusty-go_agent For curl I get a file named: bosh-aws-xen-ubuntu-trusty-go_agent For wget I get a file named: light-bosh-stemcell-2950-aws-xen-ubuntu-trusty-go_agent.tgz In both cases the file is about 6.2KB, so it looks like I am actually getting the *light* stemcell both times, even though that's not the URL I'm using. Is this behavior expected? How would I use curl/wget to download the full stemcell since there's no separate URL? Thanks!
|
|