Page 1 of 1

Folders are not deleted from the site folder in "Explore"

Posted: Thu Feb 16, 2023 1:14 pm
by VictorKrs
Good afternoon!

When publishing a site to the server, it is possible to view the site files by clicking the "Explore" button.
Faced with a slight inconvenience - the site files can be deleted (including highlighting everything), and the folder (for example, "images:) is impossible. It is deleted only after you delete its contents. Quite often it is required to delete all files from the site folder, this restriction lengthens the deletion process:(

Re: Folders are not deleted from the site folder in "Explore"

Posted: Thu Feb 16, 2023 1:25 pm
by Pablo
This is behavior by design, so you don't accidentally delete the entire folder. when it's not empty.
Note that this conform the FTP specifications:
https://www.php.net/manual/en/function.ftp-rmdir.php
This must be either an absolute or relative path to an empty directory.

Re: Folders are not deleted from the site folder in "Explore"

Posted: Thu Feb 16, 2023 3:09 pm
by Bluesman
VictorKrs wrote: Thu Feb 16, 2023 1:14 pm Good afternoon!

When publishing a site to the server, it is possible to view the site files by clicking the "Explore" button.
Faced with a slight inconvenience - the site files can be deleted (including highlighting everything), and the folder (for example, "images:) is impossible. It is deleted only after you delete its contents. Quite often it is required to delete all files from the site folder, this restriction lengthens the deletion process:(
I can agree with this opinion, just stumbled on this yesterday and when having many folders with files inside... or even more irritating when having more folders with files inside it gets to much. So I had to use my external ftp file manager for this operation :)

Re: Folders are not deleted from the site folder in "Explore"

Posted: Fri Feb 17, 2023 9:13 am
by VictorKrs
Bluesman wrote: Thu Feb 16, 2023 3:09 pm
VictorKrs wrote: Thu Feb 16, 2023 1:14 pm Good afternoon!

When publishing a site to the server, it is possible to view the site files by clicking the "Explore" button.
Faced with a slight inconvenience - the site files can be deleted (including highlighting everything), and the folder (for example, "images:) is impossible. It is deleted only after you delete its contents. Quite often it is required to delete all files from the site folder, this restriction lengthens the deletion process:(
I can agree with this opinion, just stumbled on this yesterday and when having many folders with files inside... or even more irritating when having more folders with files inside it gets to much. So I had to use my external ftp file manager for this operation :)
Thank you Bluesman for confirming the presence of this inconvenience! If it will be solved by means of WB, it would be good!