sweenster
07-06-2005, 11:49 PM
I have a simple PHP file upload script that works fine on my UNIX server but when I try to run it on a windows server I get the following error message:
Warning: copy(D:\Inetpub\fsstrath\Live\upl\uploads) [function.copy]: failed to open stream: Permission denied in D:\Inetpub\fsstrath\Live\html\adm_fupload.php on line 6
IIS permissions for the directory are set.
I did a guick google and found out that for windows the path needs to be defined with double slashes - i.e D:\\Inetpub\\fsstrath\\Live\\upl\\uploads - but that didnt work.
Any ideas/suggestions on whats causing this?
Warning: copy(D:\Inetpub\fsstrath\Live\upl\uploads) [function.copy]: failed to open stream: Permission denied in D:\Inetpub\fsstrath\Live\html\adm_fupload.php on line 6
IIS permissions for the directory are set.
I did a guick google and found out that for windows the path needs to be defined with double slashes - i.e D:\\Inetpub\\fsstrath\\Live\\upl\\uploads - but that didnt work.
Any ideas/suggestions on whats causing this?