Page 1 of 1
File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 15:47
by shoulders
When I am uploading an archive to my website I will usually have the panel file manager open so soon as the upload has completed I can refresh and see the new upload which I can then extract.
Please add a refresh button to the file manager.
Re: File Manager - Add refresh button [SOLVED]
Posted: Thu 26. Oct 2023, 16:05
by Jolinar
Every modern browser has a reload/refresh button. Why should we integrate an additional button into the panel that serves the exact same function?
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:11
by shoulders
Because you might be several levels deep in a folder structure and when you refresh the page, your location will get reset.
This is why most of the other panels I have evaluated have this feature.
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:17
by Alexander
The path within the file manager is part of the URL, if you hit refresh / F5 etc. you would still be in the same directory.
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:25
by shoulders
That would not be obvious for most, especially on a tablet or a phone (if you do such a thing).
If it is not a big thing you could:
- add a javascript button that refreshes the page and just call it 'Refresh'

- or add a small note to advise users that they can use F5 to refresh and the location will be maintained.
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:30
by Jolinar
shoulders wrote: ↑Thu 26. Oct 2023, 16:25
That would not be obvious for most, especially on a tablet or a phone (if you do such a thing).
On mobile devices you only need a swipe gesture to refresh the web page.
And sorry, if you don't even know such simple things, then you shouldn't manage servers.
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:32
by 24unix
Jolinar wrote: ↑Thu 26. Oct 2023, 16:30
then you shouldn't manage servers.
I think the file manager is not really meant for the admin, I've never ever used it.
Nothing beats the shell.
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:36
by Jolinar
24unix wrote: ↑Thu 26. Oct 2023, 16:32
Nothing beats the shell.
Or in this specific case also a FTP Client like Filezilla, WinSCP, whatever...
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:37
by shoulders
@Jolinar
I know how to refresh a page but I would not expect a folder reference in a GET request.
The end-user will definitely not know to examine the URL for such data and then decide, ahah I should refresh the page, all those other panels with a refresh button are stupid.
I know how to do a few things, but you get me mixed up with clients. You have a client area for a reason. The file manger is only available in the client area.
Hope this clears things up.

Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 16:51
by Alexander
Sorry but i don't get it.
You say, that clients assumes, when he hit F5, we will be redirected to an other directory / reset their current directory.
I would say, clients, who use KeyHelp do not have to worry about this, they can just hit F5 and everything will be fine.
If other control panels make the user think about a refresh button an a possible reset of their current directory than that is the fault of the respective panels. In KeyHelp F5 just works.
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 17:25
by shoulders
Hi Alexander
File managers come in 2 basic forms (as you know)
- PHP based, all updates are done by hyperlink and the supply of a new page from the PHP interpreter etc.. A page refresh has occurred (your file manager I am guessong). This will be controlled by variables POST or GET (GET for yours) supplied with the REQUEST.
- then there is the ajax based stuff where the 'new code' is supplied in the background, the DOM is altered and you stay on the same html/php page, no page refresh occurs.
The end user will not know the difference between these and will just expect refresh button. Yes, some will click up and then back into the folder but I would not think F5 would be their first thought, it was not mine.
If you hit F5 on a file manager that is using ajax the location/folder data will not be sent over a GET variable and the page will reload fresh.
The reason I expected a refresh button is that when I click on a folder or the up directory button the page refresh is so quick I did not see it or perhaps I thought the file manager was being update by ajax. I did not feel the need to inspect the URL to see GET variables to discover the file manager was PHP based.
I completely understand now that F5 just works (even though I would prefer a button

), but could you just add the message 'Press F5 to refresh the page or something similiar. (also I just used red to make it easier to see). It is your call, I am just pointing out what I see.

- f5.png (15.12 KiB) Viewed 14001 times
P.s. I appreciate the feedback I have been given aswell.
Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 19:13
by Tobi
I have never had to reload the page. For me, the file manager works as you would expect.
If you have to refresh all the time, you are doing something wrong.
sorry

Re: File Manager - Add refresh button
Posted: Thu 26. Oct 2023, 19:29
by shoulders
not all the time, see post 1
