I'm tyring to make a PHP / FTP Application, where users can view/download/upload files in a given FTP site.
I can connect to the FTP server, login using the credentials, but when I try to upload, or create a directory, I get:
Line 16:Warning: ftp_mkdir() [function.ftp-mkdir]: www: Access is denied. in C:\webserver\Apache2\htdocs\ftp\test.php on line 16
Code: Select all
if (ftp_mkdir($conn_id, $dir)) {
echo "successfully created $dir\n";
} else {
echo "There was a problem while creating $dir\n";
}If anyone has any ideas what this could be, please share the wealth!
Cheers