using curl to download a file
Date: Sun, 13 Sep 2020 08:31:15 -0700
Hi,
I am trying to use curl to download (for example) the following file (to use curl in some install scripts), but it returns 0 bytes:
curl https://bitbucket.org/claudio_ortega/soundbridge/downloads/jre-8u172-macosx-x64.tar.gz
Am I missing some curl options for this to work?
Or is it an issue with the permissions of the account (or of the file) in Bitbucket’s server? (if so, what should they be for curl to be able to download the file?)
Thanks!
Dan (curl newbie)
BTW, clicking this path downloads the tar.gz successfully. Also, wget downloads it fine (but many users don’t have wget installed).
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-09-13