How do I upload folders via FTP PHP
<p>I'm writing a script that can FTP files and folders using PHP functionality.</p>

<p>I'm able to upload files via ftp but not folders, is is possible to upload folders via PHP Ftp</p>

<p>My file code looks similar to below</p>

<pre><code>$upload = ftp_put($connection, '123test.co.za/images/1.jpg','1.jpg', FTP_ASCII);
</code></pre>
