• pmorcos

    (@pmorcos)


    using IIs 5.1
    mysqul 3.23.27
    php 4.3.1
    I have set up through admin to allow uploading.
    I did have to edit the upload.php file to allow \ character instead of /
    but I still get this error….

    Warning: copy(c:\inetpub\wwwroot\wp-content\P0001078.jpg): failed to open stream: Permission denied in C:\Inetpub\wwwroot\wp-admin\upload.php on line 170
    Couldn’t upload your file to c:\inetpub\wwwroot\wp-content\P0001078.jpg.

    I went in and changed permissions with windows to allow read access on all folders in
    c:\inetpub and below….still no go.

    Here is line 169 and 170 from upload.php using vim as an editor….
    if(!$moved) {
    $moved = copy($img1, $pathtofile);

    please help…i cant get it to work.
    🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Uploading and editing involves writing. Reading only involves reading. The directories need to have write access.

    Thread Starter pmorcos

    (@pmorcos)

    turns out that i didn’t have write permission enabled. I had read other posts all claiming read needed to be enabled…but once I allowed writing to the upload directory…it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problems being allowed to upload’ is closed to new replies.