How can you upload directories to FTP using ftp functions? Or, if you can't do that, at least put the files of that directory in an array an empty it onto FTP?
What do you mean Upload Directories?
Are you trying to say Create a directory? Or upload an entire directory that you select. If so thats impossible with PHP as far as i know..
However you can create a directory using either mkdir(); or using the FTP function ftp_mkdir()
http://www.php.net/manual/en/function.ftp-mkdir.php http://www.php.net/manual/en/function.mkdir.php
I mean uploading directories to FTP...so there's no way? Is it possible to take all the files in a certain folder and upload it then?