To uncover the download link for a file on a webpage, try initiating a download request and monitoring the network tab in your browser for the request URL and its contents. For example, if you're looking to access the "17/0244 Attachment" on the specified page, the URL utilized for downloading (typically produced by the downloadFile JS function submitting the form) is:
https://bids.hctx.net/bso/external/bidDetail.sdo?bidId=17%2F0244&parentUrl=activeBids
Since this involves a POST request, there's a substantial amount of data within the request body itself. These parameters are essential for the server to furnish the correct document. In my particular request, these were:
mode:download
bidId:17/0244
docId:17/0244
currentPage:1
querySql:
downloadFileNbr:12767
itemNbr:undefined
parentUrl:activeBids
fromQuote:
Evidently, this request triggers a server-side script that then presumably retrieves the document from a repository before making it available for download. The actual file may not be stored in a directly accessible URL location, potentially being saved in a database as binary data or within backend SAN storage, a document management system like FileNet, or similar platforms.
If you aim to generate a direct hyperlink to the document independently, your best approach is to devise code or static HTML form replicating an identical POST request to that URL, with matching querystring and body parameters. A direct link to the static file isn't readily available by default.