Is restartable TCMD download possible?

May 20, 2008
3,515
3
Elkridge, MD, USA
I am faced with more than 5 failing attempts for each successful attempt downloading each new build. Worst is that judging by the download duration and the TCC command COPY's running transfer rate the whole installer file is actually downloaded but leaves behind a smaller than 3,000 byte file. There are programs available for FTP that can resume without repeated downloading. Is there a method for HTTP?
 
Nov 13, 2008
255
3
www.thedave.me
HTTP supports ranges, which allow resuming, as well as intelligent downloading of multiple parts at once. But COPY doesn't, as far as I know. WGET or CURL can do it, typically with some combination of switches to both replace new files based on date (so you don't resume a new version over an old version, if the file may potentially get updated/replaced) and a switch to force resuming.
 

rconn

Administrator
Staff member
May 14, 2008
11,910
133
There are programs available for FTP that can resume without repeated downloading. Is there a method for HTTP?
If you use the built-in updater, that does it for you automatically. If you refuse to use the updater, you'll have to find something yourself -- JP Software doesn't support roll-your-own updating.