A web site presents an xhtml page with a Download clickable button. When clicked from the web page I get the .zip file. Instead of Browser - I'm try to automate the download using wget --referrer. For wget I need to the Download link. I have used Live HTTP Headers to capture the RR traffic - looks to me the server is throwing a JSF/PrimeFace page with Input as Hidden and does provide the link or path to the file. Here is what got from the capture:
</div><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-3398716848402376611:2833976163771474925" autocomplete="off" />
I readup on a similar issue responses - in particular from user "hhaamu" - where he did not elaborate how he detected the hidden download link.