I am writing a BTM script that downloads the JP Software installers for a selected major version, for example:
<span>https://jpsoft.com/downloads/v36/tcmd.exe<br>https://jpsoft.com/downloads/v36/tcc.exe<br>https://jpsoft.com/downloads/v36/tcc-rt.exe</span>
The intention is to download the files unattended to explicitly chosen filenames and directories, without depending on an already configured web browser.
Using the browser works, but that is not a satisfactory scripting solution. The browser manages the download asynchronously, may rename files to tcc(1).exe, tcc-rt(2).exe, and so on, and the BTM script cannot reliably determine which file belongs to which request.
I tried using Windows curl.exe, but on this machine the HTTPS connection fails with:
<span>curl: (35) schannel: next InitializeSecurityContext failed:<br>CRYPT_E_REVOCATION_OFFLINE (0x80092013)<br>The revocation function was unable to check revocation because<br>the revocation server was offline.</span>
The options --ssl-revoke-best-effort and --ssl-no-revoke did not produce a working download.
I also considered FTP or FTPS, but I do not know whether JP Software still provides a public FTP server. I vaguely remember that FTP access may have been disabled following a security incident several years ago.
My questions are:
My goal is not to work around browser or certificate security. I am looking for a clean, supported and deterministic method that allows a BTM script to download the installers, detect success or failure, and know the exact resulting filename.
At present the only method that actually downloads the files is opening the HTTPS links in the default browser, but that leaves the BTM script trying to observe an asynchronous process that it does not control.
I am using TCC version 36 on Windows 11.
Thanks for any guidance or a small working example.
<span>https://jpsoft.com/downloads/v36/tcmd.exe<br>https://jpsoft.com/downloads/v36/tcc.exe<br>https://jpsoft.com/downloads/v36/tcc-rt.exe</span>
The intention is to download the files unattended to explicitly chosen filenames and directories, without depending on an already configured web browser.
Using the browser works, but that is not a satisfactory scripting solution. The browser manages the download asynchronously, may rename files to tcc(1).exe, tcc-rt(2).exe, and so on, and the BTM script cannot reliably determine which file belongs to which request.
I tried using Windows curl.exe, but on this machine the HTTPS connection fails with:
<span>curl: (35) schannel: next InitializeSecurityContext failed:<br>CRYPT_E_REVOCATION_OFFLINE (0x80092013)<br>The revocation function was unable to check revocation because<br>the revocation server was offline.</span>
The options --ssl-revoke-best-effort and --ssl-no-revoke did not produce a working download.
I also considered FTP or FTPS, but I do not know whether JP Software still provides a public FTP server. I vaguely remember that FTP access may have been disabled following a security incident several years ago.
My questions are:
- What is the officially recommended way to download the JP Software installers from a TCC/BTM script?
- Should TCC’s internal COPY command be able to download these HTTPS URLs directly?
For example:
<span>copy "https://jpsoft.com/downloads/v36/tcc-rt.exe" "D:\Install\tcc-rt.exe"</span>
- If this should work, are there any required options or relevant INI settings for HTTPS, TLS, certificate validation, proxies, or certificate revocation checking?
- Does TCC use Windows Schannel for HTTPS connections, and can it handle the case where a certificate revocation server is temporarily unreachable without disabling normal certificate validation?
- Does JP Software currently provide FTP or FTPS access to the installer files? If so, what server, protocol, port, and path should be used?
- Is there a machine-readable download page, manifest, API, or other supported method for determining:
<span>current major version<br>available products<br>exact download URLs<br>file sizes<br>checksums</span>
- Are the download URLs and filenames considered stable enough to use in an automated script?
My goal is not to work around browser or certificate security. I am looking for a clean, supported and deterministic method that allows a BTM script to download the installers, detect success or failure, and know the exact resulting filename.
At present the only method that actually downloads the files is opening the HTTPS links in the default browser, but that leaves the BTM script trying to observe an asynchronous process that it does not control.
I am using TCC version 36 on Windows 11.
Thanks for any guidance or a small working example.