Deploy a file to a specific folder in all server

Hi,

Does anyone know how do I distribute a file to a specific folder in all servers?

You can do that using -

Option 1:

delete __createfile

createfile until EOD
Your file's Text
EOD

move __createfile  "C:\Temp\yourfile.txt" ```


Option 2:
Using WebUI -

Option 3:

Console → Wizards → BES Support → Windows Software Distribution Wizard.

Just follow the on-screen instructions, upload the file path that needs to be sent, and fixlet creation will happen automatically after that.

Fixlet will display the action script with prefetch and a few commands; modify the final line to look like the one below by using the move command.

prefetch 1b6e9bed72180a0f83416ee091dc32a6e2055ecf sha1:1b6e9bed72180a0f83416ee091dc32a6e2055ecf size:95 http://Your_BFX_Server:52311/Uploads/1b6e9bed72180a0f83416ee091dc32a6e2055ecf/BigFixexampassword.txt.tmp sha256:8f43484bfcc42ea3c5e065dadbed756072114a964d9396a991cd361506772a9c
extract 1b6e9bed72180a0f83416ee091dc32a6e2055ecf
move "__Download\YourFile.txt" "C:\Temp\yourfile.txt"

My suggestion is to choose option 1, since you can make changes to the text on the fly without having to upload the file and you’ll be good to go.

4 Likes

Hi, I need to deploy the file to all servers path
c:\Apps\bmc\Patrol3\security\certificates

Welcome @talzi ! Options 1 and 3 are valid for your situation.

@vk.khurava I love your posts!

1 Like

@orbiton Many Thanks :slight_smile:

Hi, I was able to deploy the file using option 3

many thanks - vk.khurava & Or Biton

1 Like