Information from shellhacks.com.
The following command recursively downloads your site with all its files and folders from FTP server and saves them to the current directory.
|ftp.server.com||IP address or domain name of an FTP server|
|-l||Maximum recursion depth (0 = unlimit) (default = 5)|
|-nH||Disable generation of host-prefixed directories|
|-X||exclude a list of directories|
Now you can compress the folder with your site as follows:
Install pluxml on raspberry pi
I am using nginx + php7 + pluxml following these 3 links:
Then restart both services.
Interesting problem : Nginx sucessfully password protects PHP files, but then prompts you to download them
Answer : The problem is a fundamental misunderstanding as to how nginx processes a request. Basically, nginx chooses one location to process a request.
You want nginx to process URIs that begin with /admin in a location block that requires auth_basic. In addition, URIs that end with .php need to be sent to PHP7.
So you need two fastcgi blocks, one to process normal PHP files and one to process restricted PHP files.