0
I am on an Apache/2.2.22 (Debian) server, and when creating an image upload folder for example the folder is totally inaccessible via FTP. No way to delete or even enter the folder.
$folder_name = 'pasta/date/arquivos/';
mkdir($folder_name, 0775, true);
copy('http://exeplo/img.jpg', $folder_name.'img_name.jpg');
It may be permission of the user who created the folder, give a
ls -all
and see the owner user of the folder.– fernandoandrade