here's my problem situation:
i create folder this way:
mkdir($gal);
chmod($gal.'/', 0777);
then i put images in it with php code..
move_uploaded_file($_FILES['fails']['tmp_name'], $dest)
...
so far it is okey, but when i try to delete folder from my ftp client (WinSCP) i got..
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 15
ftp client shows that folder has permissions set to 0777 but i cant delete it.
what i should do?