ryanblenis / MeshCentral-FileDistribution

File Distribution plugin for MeshCentral
Apache License 2.0
21 stars 5 forks source link

Not allowing file selection to distribute #2

Open adrianh337 opened 3 years ago

adrianh337 commented 3 years ago

First of all, thanks for the great plugins that you've contributed to Meshcentral.
I'm probably doing something wrong, but I can't figure it out. I'm trying to distribute files using the FileDistribution plugin that are uploaded to "My FIles". When I do click on the + sign to select my file, I get a window "Choose File to Distribute" with a Filter box and an "OK" and "Cancel" buttons. Even if I type the entire name of the File in the Filter WIndow (with or without wildcards), I get an "Oops!" dialog box saying "You didn't to select a server file to distribute." with an OK button. I'm not sure what I'm doing wrong.
FileDistribution1 image

ryanblenis commented 3 years ago

Hi @adrianh337 ,

Can you verify that you have some files uploaded in the "My Files" folder of the "My Files" section. I don't believe I coded it to pick up files in the generated "GroupName" folders created with every new Device Group. If it's working there, I'll take a look at what it takes to add the generated group folders as well.

crettien commented 3 years ago

Hi, I had the same issue as described above by Adrian but after a couple of minutes it started to work fine. fileDistribution My guess is that I had not waited long enough after installing the plugin. Thanks for this great plugin! I wish it could also work on group of endpoints... Thanks, Christophe