Filemanager create pathfolders when zip/unzip

hi,

When i zip a file/folder in path home/web/mysite.com/public_html the zipped file doesnt contain only the files dut also the folder structure " home/web/mysite.com/public_html" so if i unzip it the compressed files are saved in directory “home/web/mysite.com/public_html/web/mysite.com/public_html”. How can i solve this?

thanks

Why there is no conversation on this topic? I am facing same issue?

Because it is a year and a half old topic and any competent server administrator knows how to type man zip or man unzip and read the directions to learn how to use the software. This has nothing whatsoever to do with HestiaCP and is a basic Linux skills question.

HestiaCp is made so that we don’t have to use commands for every little thing. Secondly if the zip functionality is given already in UI, shouldn’t it work properly? In every cpanel or even my mac system, if you zip a X folder, the zip only contains X folder, it doesn’t contains it’s parents.

Pay money and install CPANEL. No one owes you anything here. The panel is developed by ordinary people on pure enthusiasm, nothing more. If you are not satisfied with the current functionality, just do not use the panel.

2 Likes