RunDMC icon indicating copy to clipboard operation
RunDMC copied to clipboard

Provide full command line for curl downloads

Open dmcassel opened this issue 9 years ago • 2 comments

When using the curl download, it's easy to forget to wrap the URL in quotes. Failing to do so on Linux results in errors, because the ampersand splits the URL and sends an incomplete command to the background.

Resolution: instead of just giving the URL, provide the complete curl command.

Need to check how cross-platform friendly this will be. If needed, might offer complete Windows-friendly command line when downloading .msi, Linux-friendly when downloading .rpm, and Mac-friendly when downloading .dmg.

dmcassel avatar Sep 09 '15 14:09 dmcassel

I think @kcoleman-marklogic has done some of this is our REST examples, maybe she has some suggestions?

dsokolsky avatar Sep 14 '15 20:09 dsokolsky

+1 Updating to something like the following, would be very helpful. curl -o MarkLogic-RHEL6-8.0-5.4.x86_64.rpm 'https://developer.marklogic.com/download/binaries/8.0/MarkLogic-RHEL6-8.0-5.4.x86_64.rpm?t=uniqueCode&email=emailAddress' Don't think many people use curl on non-Linux platforms.

djdman2000 avatar Aug 30 '16 20:08 djdman2000