Hi Geert,

Are you saying I've no choice but to manually obtain the security token for 
each download, unless i find a way to automate the clicks and scrape it from 
the resulting page ?

If so, maybe ML should provide an API to make downloading installers easier.

Regards,
Danny

Sent from my iPhone

> On Feb 23, 2016, at 12:54 AM, Geert Josten <[email protected]> wrote:
> 
> Hi Danny,
> 
> As you can read here, download urls contain a security token, which will be 
> different each run:
> 
> http://stackoverflow.com/questions/35442235/marklogic-installation-on-redhat-7
>  
> 
> Consider parametrizing your script to pass in the security token (or the 
> entire url), which you copy from the download website at each run.
> 
> Cheers,
> Geert
> 
> From: <[email protected]> on behalf of Danny Sinang 
> <[email protected]>
> Reply-To: MarkLogic Developer Discussion <[email protected]>
> Date: Tuesday, February 23, 2016 at 3:03 AM
> To: general <[email protected]>
> Subject: [MarkLogic Dev General] Downloading Marklogic via curl
> 
> Hi,
> 
> I'm writing a script to automate the upgrade of MarkLogic nodes.
> 
> Part of the automation involves downloading the MarkLogic installer from the 
> ML developer site.
> 
> However, it appears the only way curl can do the download is via a one-time 
> URL, which is generated by manually logging into the website.
> 
> Is there a way to get a reusable curl URL (for cases when I need to rerun my 
> automation script) ?
> 
> Regards,
> Danny
> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at: 
> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to