[GH-ISSUE #1005] Feature request: A central "pool" for files. #2556

Open
opened 2026-03-14 04:32:48 +03:00 by kerem · 7 comments
Owner

Originally created by @DirectITServicesUK on GitHub (Mar 15, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1005

Can we have a "files pool". Where installation and/or config files can be stored.
So then when a script is scheduled on an agent, for example to install an application, it automagically downloads the file to where the script is run on the agent, rather than having to script the downloading of the file first.
Example of use:- BGINFO
Lets say you have a BGINFO executable, and a config file, that you want on all machines. That .BGI file will need to be hosted somewhere, and a script needs to grab that file, and place it.
Example from competitor - https://community.syncromsp.com/t/scripting-overview/592#required_files

Originally created by @DirectITServicesUK on GitHub (Mar 15, 2022). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1005 Can we have a "files pool". Where installation and/or config files can be stored. So then when a script is scheduled on an agent, for example to install an application, it automagically downloads the file to where the script is run on the agent, rather than having to script the downloading of the file first. Example of use:- BGINFO Lets say you have a BGINFO executable, and a config file, that you want on all machines. That .BGI file will need to be hosted somewhere, and a script needs to grab that file, and place it. Example from competitor - https://community.syncromsp.com/t/scripting-overview/592#required_files
Author
Owner

@wh1te909 commented on GitHub (Mar 16, 2022):

good request yes we can do something like that

<!-- gh-comment-id:1068630099 --> @wh1te909 commented on GitHub (Mar 16, 2022): good request yes we can do something like that
Author
Owner

@silversword411 commented on GitHub (Apr 7, 2022):

Probably best to do in TRMM long term, but mesh can also do it now:
https://www.youtube.com/watch?v=UOIjWnsxsN8

<!-- gh-comment-id:1092247566 --> @silversword411 commented on GitHub (Apr 7, 2022): Probably best to do in TRMM long term, but mesh can also do it now: https://www.youtube.com/watch?v=UOIjWnsxsN8
Author
Owner

@sadnub commented on GitHub (Apr 17, 2022):

How do you envision the permissions to work on the uploaded files? Should those be downloadable publicly or just available to the agent?

<!-- gh-comment-id:1100931006 --> @sadnub commented on GitHub (Apr 17, 2022): How do you envision the permissions to work on the uploaded files? Should those be downloadable publicly or just available to the agent?
Author
Owner

@sadnub commented on GitHub (Apr 17, 2022):

On another note, I have had really good luck embedded plain text files in powershell as here strings.

$batchfile = @"
@echo off
cd
Start "" /MIN /wait "C:\BgInfo\bginfo.exe" "C:\Bginfo\bginfoconfig.bgi" /timer:0 /nolicprompt
"@

$batchfile | Out-File -FilePath "$env:allusersprofile\Microsoft\Windows\Start Menu\Programs\StartUp\bginfo.bat" -Encoding ASCII

Now the script has no external dependencies and will run on anything anywhere.

<!-- gh-comment-id:1100931516 --> @sadnub commented on GitHub (Apr 17, 2022): On another note, I have had really good luck embedded plain text files in powershell as here strings. ```powershell $batchfile = @" @echo off cd Start "" /MIN /wait "C:\BgInfo\bginfo.exe" "C:\Bginfo\bginfoconfig.bgi" /timer:0 /nolicprompt "@ $batchfile | Out-File -FilePath "$env:allusersprofile\Microsoft\Windows\Start Menu\Programs\StartUp\bginfo.bat" -Encoding ASCII ``` Now the script has no external dependencies and will run on anything anywhere.
Author
Owner

@dinger1986 commented on GitHub (Apr 17, 2022):

Accessible via the token the agent uses? Not public I don't think.

Would be useful for scripts to have a repository to download files from and maybe place them there as well?

<!-- gh-comment-id:1100931710 --> @dinger1986 commented on GitHub (Apr 17, 2022): Accessible via the token the agent uses? Not public I don't think. Would be useful for scripts to have a repository to download files from and maybe place them there as well?
Author
Owner

@jlydia commented on GitHub (Mar 27, 2023):

Any updates on this?

<!-- gh-comment-id:1484465286 --> @jlydia commented on GitHub (Mar 27, 2023): Any updates on this?
Author
Owner

@rwright-bci commented on GitHub (Feb 22, 2024):

Also very interested in this. Having it function like Syncro's implementation of it would be fantastic. We used Syncro for a time and that was one of its best features.

<!-- gh-comment-id:1959694541 --> @rwright-bci commented on GitHub (Feb 22, 2024): Also very interested in this. Having it function like Syncro's implementation of it would be fantastic. We used Syncro for a time and that was one of its best features.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2556
No description provided.