besdownloadcacher Summary: besdownloadcacher is used to cache or pre-fetch all the files that will be downloaded by every Fixlet in a BES Action Site. By caching these files actions will not need to download the file from the internet before distributing the file to BES Clients. This application will cache the files on the computer it is run on and can be run from any computer that runs as a BES Server or BES Relay. The masthead file for the each action site may be provided using the -m command line arguement if no actionsites are found automatically. This application will not overfill the cache above its maximum size and can increase the cache size as needed. Command Line Arguments Optional Arguments: -h : Displays this help message -s : Runs in silent mode. No standard output and script runs automatically to completion. Aborts if cache fills and forcing not enabled. Most often run with the -f option to avoid blocking for input. -f : Runs in force mode. Automatically increases cache size when needed and caches any action sites detected. -l : Sends standard out to a logfile created in the directory of this application with name download_cacher_5_4.log -m : A masthead file must be provided to gather the action site. -c : Changes maximum cache size to be . Increase the maximumm cache size as desired. The BES default cache size is 1024 (1 GigaByte). -e : Use the proxy specified by your computers environment variables when attempting to gather the actionsites. -p : Use the proxy specified by when attempting to gather from the internet. Example of : 'http://proxy.sn.no:8001/' -a : Use the specified username and password in to authenticate when using a proxy. -u : Download a single file from the internet and cache just that file. -b : Forces the download cacher to download files from another BES Server instead of directly from the internet. -x : Use the folder specified to put downloads into instead of the cache. Use this option to create a cache on a computer that is not the BES Server or a BES Relay. (Ignores cache sizes). -z : Downloads custom content. Cannot be used together with -m -w : Writes out download information to a user specified file. -o : Grab downloads from a file generated by the -w switch. Combined with the -b switch, this is a great method to get downloads onto an air-gapped BES Server. Required Arguments: Sample calls: besdownloadcacher -h besdownloadcacher besdownloadcacher -m bessecurity.efxm besdownloadcacher -c 1024 besdownloadcacher -p http://proxy.sn.no:8001/ besdownloadcacher -p http://proxy.sn.no:8001/ -a MyDomain\MyLogin:MyPassword besdownloadcacher -u http://download.microsoft.com/download/8/1/5/815d2d60-49b5-44dc-ae35-fca2f2c6f0cc/MicrosoftAntiSpywareInstall.exe -x c: emp besdownloadcacher -b http://alternatebesserver:52311/bfmirror/downloads/sha1/