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

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
 
E

Earl Teigrob

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
 
A

Alvin Bruney [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top