Click to See Complete Forum and Search --> : Can't delete directory


veggieCoder
10-01-2007, 05:23 PM
Hi Folks,

I am attempting to delete a temp folder after using it to upload files to my server via a form. I get the following:

Microsoft VBScript runtime error '800a004c'
Path not found

on this line:

deleteFolder.DeleteFolder("C:\path\to\my\folder\")

The same code works perfectly on another server, and the folder definitely exists (and I'm spelling it correctly), so I'm thinking it might be a permissions issue. I tried giving the IUSR full access, but that didn't work.

Any ideas would be appreciated.

Thanks