To download it manually, I click it in the red-rectangle-marked cell in the following screen shot:
As you can see from the Macro below, the ATTR=TXT: value there is the file size at that particular date and this usually change from day to day. (The "Kb" part though does not change!)
How do I change the following download macro so that it will be work every day, regardless of its file size:
Code: Select all
VERSION BUILD=6600217 RECORDER=FX
TAB T=1
URL GOTO=https://www.tase.co.il/TASEEng/MarketData/RawData/FileDistribution.htm
URL GOTO=https://www.tase.co.il/FileDistribution/TargetFolder/08031101.tas
ONDOWNLOAD FOLDER=C:\My<SP>Documents\Temp\Assemble FILE=file_803_{{!NOW:yyyymmdd}}.tas WAIT=YES
ONDOWNLOAD FOLDER=C:\My<SP>Documents\Temp\Assemble FILE=file_803_{{!NOW:yyyymmdd}}.tas WAIT=YES
TAG POS=1 TYPE=A ATTR=TXT:163
BTW #2: The ONDOWNLOAD clause works fine here, unlike in another case, posted separately.