Failed to make dir 'C:\WINDOWS\Temp/uploadertemp'

Last post 12-15-2011, 6:58 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  12-15-2011, 5:12 AM 72013

    Failed to make dir 'C:\WINDOWS\Temp/uploadertemp'

    I get the above error when running the DEMO1.php and other demo files (presumably because it already exists).
     
    I deleted the directory and ran it again. The directory gets created on the first run, but subsequent runs gives the error again.
     
    The thing is,  I thought the class variable 'SaveDirectory' was meant to be used to define the directory for uploads?
     
    BTW, I'm evaluating the product for inclusion in a small project I'm writing.
  •  12-15-2011, 6:58 AM 72018 in reply to 72013

    Re: Failed to make dir 'C:\WINDOWS\Temp/uploadertemp'

    Hi GarySm,
     
    Yes, the  SaveDirectory is set the store folder for the upload files.
     
    Try set the "TempDirectory" property to a folder which under your site.
     
    $uploader->TempDirectory="D:/2005/phpuploader/test/"; 
     
    Regards,
     
    Ken 
View as RSS news feed in XML