ODBiC Discussion Board

RE: Does ODBscript support delete Directory, Gordon Hsu, 06-08-2006

There is a deleteDir(...) function

by Roger Harris, June 8, 2006 11:53

If you have a version that has the deleteFile(...) function, then there is also a deleteDir(...) function. It's necessary to delete any files on the directory first, or you will get an error. One problem I've seen, however, is that some systems are set up such that CGIs don't seem to have the privileges necessary to delete directories -- even directories created by the same CGI. There is probably a way around that problem by adjusting the privileges assigned to the Windows username that CGIs run under, but I don't know the details.


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.