Automated download of the latest TCMD build

Oct 17, 2008
19
0
Coral Springs, FL
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
 
Jan 19, 2011
603
14
Norman, OK
If you use the Google Chrome browser, there is an AWESOME extension called "Page Monitor" by Max Shawabkeh. I use it to track updates on over 25 pages. Easy to use and very configurable.
 
Jan 19, 2011
603
14
Norman, OK
I've only tried it a little, but the Update Scanner by sneakypete81 appears to be an addon for Firefox comparable to Page Monitor.
 
May 29, 2008
565
4
Groton, CT
I was able to download the web page to a file using LYNX, with a command line
Code:
lynx -dump http://jpsoft.com/all-downloads/downloads.html > x.tmp

The result is very parseable.
 
Similar threads
Thread starter Title Forum Replies Date
T Documentation Download links Support 4
Charles Dye Outdated download links on the web site Support 1
S Download 25.0.25? Support 1
Charles Dye Old download links on JPSoft.com home page Support 0
Alpengreis [23.x] Download-Problem Support 2
Joe Caverly TCCRT Download Link Support 1
M How to? want to download a file from a website enumarate the links and download the files Support 2
T 404 trying to download RT Support 2
Joe Caverly How to? Determine size of file via download link Support 13
A Download of tcmd64.exe corrupted Support 2
vefatica Download center not up to date Support 4
S Is restartable TCMD download possible? Support 6
jbanaszczyk TCMD 16 Install - download folder Support 2
S How to? Download TCMD only once to update several computers Support 4
S How to? How do I distinguish missing source file from download error when using HTTP? Support 6
Dan Glynhampton Bad link to 64 bit RC1 download Support 0
G WAD TCMDx64 Download is corrupt Support 7
R ftp server password required to download pdf help Support 3
R Download weirdness Support 1
S Re: Release of new version - do we need to download again? Support 8
P Cannot download any of Vince Fatica's plugins Support 4
S Take Command v9 download location? Support 3
thorntonpg What is the latest version of everything Support 1
D Which is the latest version for Windows XP? Support 2
C Del /W999 2gbFile.ext / latest build / Win7 x64 / MSE / Everything Support 5
A Latest TCC/LE install broken Support 1
MickeyF where to view the latest JPSoft newsletter? Support 0
S Documentation Webpage not showing latest V15 build Support 0
S How to? Set the timestamp of ZIP command built archive to match latest member Support 8
C Latest TCMDx64 fails on XP Pro x64 Support 1
H Latest installer Support 0
B Virus in latest update? Support 4
vefatica WAD Latest TCMD won't start. Support 15
C Latest not pasted Support 0

Similar threads