Hello,
I have made an upload script that makes a subdirectory and then copy the file to the subdirectory.
Problem I keep gettting "Error! Could not create subdirectory! (Permission denied)".
Although when I FTP to the site and examine the base upload directory it says 777.
I am tried using umask(000); before the mkdir but still receive the error.
Not sure what to do. Can the .htaccess file allow this and how??
The is on Windows NT. I also found that if I try to chmod a directory other than that of the default I always get an error. Or is this some system item the host provider has to change.
Thanks - Steve
upload files, umask, mkdir - Error
Moderator: General Moderators
I use Windows commander for upload files by FTP - Files->Change Attributes - work for both Unix and Win NT servers
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com