Read file contents and download sha1 file from server

hello

I am writing a Fixlet that reads a sha1.txt file and downloads the corresponding sha1 file from the server.

There is a file C:\Airgap\DownloadedFiles\sha1.txt and the contents are as follows.


f2aa503d08ce947c265c0781aad6699b2dff83fa 204396657
f3effcdc19358740ecb4b14e374ed62098035978 575906
f6ad8b8c81fc266cdfc88373ea3d4032d8300d98 11401904
b8dc3c856f5afb004e6ca0a426c970d665c1e7c0 218498062
abcdefg File not found: abcdefg (written for exception handling)

The client downloads the above sha1 from the server using Fixlet. I’m writing it, but it’s difficult… There’s no loop, so

Any good ideas?

BestRegards,
DongYeop

Could you provide more information on the use case and what it is you’re trying to achieve?

Without knowing more, I wonder if Dynamic Downloads may help here. In particular, see the technique that uses a manifest file documented here: https://developer.bigfix.com/action-script/guide/dynamic_download.html