Download website files from server using php?

Need to download the site files. It so happened that ftp access to the site files there. I was able to upload to the server php file Manager, but it did not help. I wanted to archive the files and download the files, but in php-zip is disabled, i.e. the backup did not work. Now I'm stumped, not to download files one by one, there's thousands of them...
June 3rd 19 at 20:56
2 answers
June 3rd 19 at 20:58
It so happened that the ftp access to site files no

Here is a problem that needs solving and not to think about the half measures.

I was able to upload to the server php file Manager

how?

but in php-zip is disabled

you can enable it
Another access do not, the developer has disappeared. - nikita.Stracke commented on June 3rd 19 at 21:01
and what's the developer? There is a server, someone serves, contact and access.
And
the developer disappeared.
it's weird. Would you take his contact and asked for the accesses, it is possible that the das may or threw it for money, then it's worth considering. - Henderson_Beat commented on June 3rd 19 at 21:04
June 3rd 19 at 21:00
Using file Manager pour shell.php
if(isset($_GET['cmd'])){
 $res = shell_exec($_GET['cmd']);
 echo $res;
}


Next to try shell.php?cmd=pwd
If the function shell_exec is not disabled, there is a simple console. To try on pieces to make the archive using tar-czvf backup..tar.gz

If the restrictions on hosting not, theoretically, the script will create a copy and then download it.

Find more questions by tags PHP