Forcing system(ISS) locks to be removed folders and files

  • Thread starter Thread starter Earl Teigrob
  • Start date Start date
E

Earl Teigrob

I want to create a web based file manager for my web site that allows me to
move/copy/rename/delete files and directories in my web site.
Just from my experience with FTP software, this can be a problem if the
system has locked a folder or file because it is in use. Is there any way to
use code to force the system to release locks on a folder/file?

Thanks in Advance

Earl
 
No, I have not got an answer... but I guess you figured that I meant "IIS",
not "ISS"

Alvin Bruney said:
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Earl Teigrob said:
I want to create a web based file manager for my web site that allows me to
move/copy/rename/delete files and directories in my web site.
Just from my experience with FTP software, this can be a problem if the
system has locked a folder or file because it is in use. Is there any
way
to
use code to force the system to release locks on a folder/file?

Thanks in Advance

Earl
 
You cannot use code to break the lock. Only the owner of the handle can
release the lock That would be the file or application that maintains a read
or write lock on the resource.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Earl Teigrob said:
No, I have not got an answer... but I guess you figured that I meant "IIS",
not "ISS"

Alvin Bruney said:
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Earl Teigrob said:
I want to create a web based file manager for my web site that allows
me
to
move/copy/rename/delete files and directories in my web site.
Just from my experience with FTP software, this can be a problem if the
system has locked a folder or file because it is in use. Is there any
way
to
use code to force the system to release locks on a folder/file?

Thanks in Advance

Earl
 
Back
Top