Uploading files to a site and referring to them in a fixlet

(imported topic written by SystemAdmin)

Hi, guys.

Rather than specify that my clients retrieve a file from an externally published URL, and rather than doing a software distribution task, I was wondering how I can upload files to a custom site (not automatically distributing it to clients) and refer to those files in a fixlet I write? Does anyone have an example fixlet?

Thanks!

(imported comment written by BenKus)

Hey deathbots,

Can you explain more when you say “not automaticall distributing to clients”… If a file is in a custom site, it automatically gets distributed to clients…

How big is the file?

Ben

(imported comment written by SystemAdmin)

Hey Ben, sorry about the late reply here.

You can add a file to a site and choose to not automatically distribute them to clients I thought. For a quick example, add files to a custom site and hover over the blue Information circle. And files which are added have an entry in the column that says “Client File”

My two files have No in there.

I wanted to put files up in a custom site and have them available to a fixlet in that custom site. But I didn’t want them to make it down to each client if they weren’t necessary.

Sorry for the confusion if I’m getting this wrong!

(imported comment written by SystemAdmin)

Ben,

I’d like to do something like this from the 7.2 guide:

Another popular technique is to use a data file, or manifest, containing a list of multiple

downloads, each with its own URL, sha1 and size. This manifest can change as often as

necessary, making it easy to update spyware or anti-virus definitions. One way to implement this

is to create a file named manifest.spec with a list of downloads such as

name=patch1.exe sha1=123 size=456 url=http://site.com/download/patch1.exe

name=patch2.exe sha1=234 size=567 url=http://site.com/download/patch2.exe

name=patch3.exe sha1=345 size=678 url=http://site.com/download/patch3.exe

You can then download these patches with a prefetch block that pulls these files from the

manifest:

begin prefetch block

parameter “manifest”="{pathname of file “manifest.spec” of client folder of site “AV”}"

add prefetch item {concatentation " ; " of lines of file (parameter “manifest”)}

end prefetch block

Where I

am

automatically adding a file (manifest.spec) to the contents of a custom site. How does one go about doing that?