473,500 Members | 1,664 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
Nov 18 '05 #1
3 1213
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" <ea******@hotmail.com> wrote in message
news:uz*************@TK2MSFTNGP09.phx.gbl...
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

Nov 18 '05 #2
No, I have not got an answer... but I guess you figured that I meant "IIS",
not "ISS"

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:ep**************@tk2msftngp13.phx.gbl...
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" <ea******@hotmail.com> wrote in message
news:uz*************@TK2MSFTNGP09.phx.gbl...
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


Nov 18 '05 #3
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" <ea******@hotmail.com> wrote in message
news:uN**************@TK2MSFTNGP11.phx.gbl...
No, I have not got an answer... but I guess you figured that I meant "IIS", not "ISS"

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:ep**************@tk2msftngp13.phx.gbl...
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" <ea******@hotmail.com> wrote in message
news:uz*************@TK2MSFTNGP09.phx.gbl...
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



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1780
by: Mike Turco | last post by:
How do I go about finding the location of the desktop, temp folder, program files folder, my documents, etc. For example, say that I want to programmatically export a table to a file on the...
2
11722
by: John Smith | last post by:
How do you determine what the Application Data folder would be in C#? I'm looking for the method that under normal circumstances should return "c:\Documents and Settings\<user>\Application Data\"
4
2883
by: Greg Bell | last post by:
Hi, Can someone tell me where to look to enable me to read "Folder Options" user settings for hidden/system files from within C#/VB.Net/Any other .NET language. I'm pretty sure it must be part...
3
2644
by: greg chu | last post by:
If I type dir /s in the command line prompt I can list all system files ex. get into the IE temporary files C:\Documents and Settings\XXXXXX\Local Settings\Temporary Internet Files XXXXXX is...
3
1323
by: hostel | last post by:
hi to all, there will be "home" folder or icon in ur desktop. i lost most of the files from that folder it include (.cache,.config,.bashrc,.bashhistory etc). i.e i lost all the path which i...
1
2116
by: Tim Kelley | last post by:
Is there a way to have GetFiles() show hidden files also? Thanks
8
1834
by: heiro | last post by:
hi, im new to python programming.. im having a difficulty on how to delete a system files and read-only files.. pls help me... thanks
1
1132
by: getanswer | last post by:
hi i have a task.i want to connect my system with remote system, and want to download files from that.then upload file from system to remote system.
1
2664
by: DKn | last post by:
Hi, How to get the Files from Remote system by using OpenFileDialog control in C#.Net windows application? Actually i am trying to do Software upgradation for a remote system by using...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7183
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7235
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4614
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3108
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1431
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.