
September 17th, 2001, 06:07 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
File in use problem using ASPfree sample
Originally posted by : Dave (decphto@mindspring.com)I was looking for a way to list the folders and files in a given directory via ASP. I found the examples I needed here on ASPfree.com at the following locations:http://www.aspfree.com/wsh/listfiles.asphttp://www.aspfree.com/wsh/listfolders.aspI modified the code only so that it would display the lists of files/folders on a web page rather than to a text file. It worked fine except that now the server will not allow me to delete or rename any of the folders listed by this process. I get the following error: "Access is denied. Make sure the disk is not full or write protected and that the file is not currently in use."Three days later, after not touching these files or folders, I still get this error when I try to rename or delete some of the folders in question. Yet some others DO allow me to delete or rename them. My problem is, I can't this to happen at all. I need to be able to delete, add and rename these folders and files on an hourly basis.Does anyone know why this is happening and how to make it stop?Thanks
|