Page 1 of 1

IIS File Upload

Posted: Mon Oct 16, 2006 10:27 am
by jgcal
I have written a script to upload a file and I am using IIS. But when I select a file and press submit I get the following error:

Warning: move_uploaded_file(C:\InetPub\wwwroot\uploads\Preliminary_Analysis_of_Cyber_Portal_2.zip) [function.move-uploaded-file]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\upload.php on line 34

What do I need to do so that PHP has permissions to write files to a folder?

Thanks,

jgcal

Posted: Mon Oct 16, 2006 10:29 am
by feyd
Set IIS' user write permissions for the uploads folder.