Back up a website

Script to download a site whose content is hosted on a shared host. This is useful if PHP, MySQL and FTP are supported, which they often are on a shared host, but not the ability to run any Linux commands. One component of the script is a PHP API that's installed on the host. The other comonent is a Python script that's run from the command-line.