- Oct
- 19
- 0
Hello,
I have an automated script that copies JP Software's download web page to a file, parses it and then decides whether there is a new build available for download or not.
The line of code that performs the copy is this:
Copy /q "http://jpsoft.com/all-downloads/downloads.html" %TCBuildFile%
This always worked fine, although sometimes I had to change the parser code to adjust to changes in the web page format.
Recently the command above is failing with the following error message:
TCC: C:\Batch\TCBuild.btm [94] HTTP protocol error. 403 Forbidden. "http://jpsoft.com/all-downloads/downloads.html"
I googled HTTP error 403 and learned there is some security feature on the server page that is preventing me from copying the page, although I can see easily the page source using browser tools on Firefox or IE.
Has something changed in the website security or am I doing something wrong?
This is absolutely no big deal, but I would like to understand the reasons why the script is failing. I know I can also check for updates using the TCMD window, but this requires manual intervention.
Thanks in advance,
Renato
I have an automated script that copies JP Software's download web page to a file, parses it and then decides whether there is a new build available for download or not.
The line of code that performs the copy is this:
Copy /q "http://jpsoft.com/all-downloads/downloads.html" %TCBuildFile%
This always worked fine, although sometimes I had to change the parser code to adjust to changes in the web page format.
Recently the command above is failing with the following error message:
TCC: C:\Batch\TCBuild.btm [94] HTTP protocol error. 403 Forbidden. "http://jpsoft.com/all-downloads/downloads.html"
I googled HTTP error 403 and learned there is some security feature on the server page that is preventing me from copying the page, although I can see easily the page source using browser tools on Firefox or IE.
Has something changed in the website security or am I doing something wrong?
This is absolutely no big deal, but I would like to understand the reasons why the script is failing. I know I can also check for updates using the TCMD window, but this requires manual intervention.
Thanks in advance,
Renato