Getting the entire size of a website using php's FTP functions
<p>I'm trying to get the size of my website using php and ftp.
I would like to get the size of everything under httpdocs, (files and directories combined)</p>

<p>And have it output: My website is 42.5MB.</p>

<p>I've tried ftp_rawlist, but that gives me an ugly array that I have no idea how to parse. (Im new to php arrays). It also only gives me the file sizes of the files under httpdocs, not files within directories in httpdocs.</p>

<p>Is there some sort of recursive function that will do this?</p>
