Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Open files
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gyorgy Camaszotisz (Developer SysOp 13)  
View profile  
 More options May 20 2005, 9:54 am
Newsgroups: novell.devsup.clib.xplatnlm
From: "Gyorgy Camaszotisz (Developer SysOp 13)" <dev...@novell.com>
Date: Fri, 20 May 2005 13:54:59 GMT
Local: Fri, May 20 2005 9:54 am
Subject: Open files
Hi,

Is it possible to "close" an open file on the server? Let me explain it: when my nlm is trying to update a file, but
other people has it opened, I'm clearing those connections using NWClearConnectionNumber, which in turn closes those
open file handles on the server. It would be nice to do the same without the need to clear the entire connection, to
minimize the impact on the user's current work.

Thanks,
Gyorgy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roger Thomas, Dev SysOp 22  
View profile  
 More options May 20 2005, 7:59 pm
Newsgroups: novell.devsup.clib.xplatnlm
From: "Roger Thomas, Dev SysOp 22" <dev...@novell.com>
Date: Fri, 20 May 2005 23:59:26 GMT
Local: Fri, May 20 2005 7:59 pm
Subject: Re: Open files
I've not come across such an interface, but even if it does exist the results will be the same,
a user working with say word file is likely to lose all their work if either the connection or
just the file handle is disconnected at the server.

Roger

"Gyorgy Camaszotisz (Developer SysOp 13)" <dev...@novell.com> wrote in message news:428DEC3C.4090007@novell.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guenter Knauf, DevNet SysOp 32  
View profile  
 More options May 21 2005, 9:07 am
Newsgroups: novell.devsup.clib.xplatnlm
From: "Guenter Knauf, DevNet SysOp 32" <devfor...@novell.com>
Date: Sat, 21 May 2005 13:07:53 GMT
Local: Sat, May 21 2005 9:07 am
Subject: Re: Open files
"Roger Thomas, Dev SysOp 22" <dev...@novell.com> wrote in
news:yRuje.23$mH.12@prv-forum2.provo.novell.com:

> I've not come across such an interface, but even if it does exist the
> results will be the same, a user working with say word file is likely to
> lose all their work if either the connection or just the file handle is
> disconnected at the server.

but: if the user has also Excel and Access open files, these are also
affected when you kill the whole connection - I think this is what Gyorgy
wants to avoid....

Guenter.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gyorgy Camaszotisz (Developer SysOp 13)  
View profile  
 More options May 23 2005, 5:15 am
Newsgroups: novell.devsup.clib.xplatnlm
From: "Gyorgy Camaszotisz (Developer SysOp 13)" <dev...@novell.com>
Date: Mon, 23 May 2005 09:15:39 GMT
Local: Mon, May 23 2005 5:15 am
Subject: Re: Open files
Guenter Knauf, DevNet SysOp 32 wrote:

> "Roger Thomas, Dev SysOp 22" <dev...@novell.com> wrote in
> news:yRuje.23$mH.12@prv-forum2.provo.novell.com:

>>I've not come across such an interface, but even if it does exist the
>>results will be the same, a user working with say word file is likely to
>>lose all their work if either the connection or just the file handle is
>>disconnected at the server.

> but: if the user has also Excel and Access open files, these are also
> affected when you kill the whole connection - I think this is what Gyorgy
> wants to avoid....

Yeah, exactly. I'd like to keep all other applications working, by breaking only that single app which has the file
opened. I could even imagine a more sophisticated app being able to intelligently handle this situation, eg. by allowing
to save the work under a different file name.

Gyorgy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guenter Knauf, DevNet SysOp 32  
View profile  
 More options May 23 2005, 11:04 am
Newsgroups: novell.devsup.clib.xplatnlm
From: "Guenter Knauf, DevNet SysOp 32" <devfor...@novell.com>
Date: Mon, 23 May 2005 15:04:15 GMT
Local: Mon, May 23 2005 11:04 am
Subject: Re: Open files
Hi,
"Gyorgy Camaszotisz (Developer SysOp 13)" <dev...@novell.com> wrote in
news:42919F47.3090403@novell.com:

> Yeah, exactly. I'd like to keep all other applications working, by
> breaking only that single app which has the file opened. I could even
> imagine a more sophisticated app being able to intelligently handle this
> situation, eg. by allowing to save the work under a different file name.

hmmm, but since the server itself must do something like looping through all
open files of a given connection if we kill it there must exist something at
least at server side (perhaps no xplat) which can force closing a file....
where are the hot tips of some undeocumented functions?
Just someone else asked in another forum for exactly the same - and BTW. I
also had already some situations where this would have helped a lot....
so lets make a request for a new function:
NWCloseFileForced()
or such....

Guenter.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Mair  
View profile  
 More options May 23 2005, 10:58 am
Newsgroups: novell.devsup.clib.xplatnlm
From: David Mair <dev...@novell.com>
Date: Mon, 23 May 2005 14:58:17 GMT
Local: Mon, May 23 2005 10:58 am
Subject: Re: Open files
Gyorgy Camaszotisz (Developer SysOp 13) wrote:

This can be done. You can do it with NoRM and MONITOR I believe. FWIW, I
wrote a method that allows NSS to expose handles to another application
and that application can then close the handle with prejudice. I'm
pretty sure it's not published and I'm not about to publish it so
broadly but, in essence it is this pseudo-code:

Impersonate a connection
Iterate file handles
If current file handle is the one to kill
Close file handle and break
Repeat
Profit

--
Regards,
David.

***************
David A. Mair
DevNet SysOp 54


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roger Thomas, Dev SysOp 22  
View profile  
 More options May 23 2005, 2:24 pm
Newsgroups: novell.devsup.clib.xplatnlm
From: "Roger Thomas, Dev SysOp 22" <dev...@novell.com>
Date: Mon, 23 May 2005 18:24:13 GMT
Local: Mon, May 23 2005 2:24 pm
Subject: Re: Open files
My comment was more about the fact that any solution would break
something. Novell seems to have a strong policy only not directly
providing interfaces that can cause 'damage' to the environment. Saying
that it looks like David has put forward a solution.

Roger

"Gyorgy Camaszotisz (Developer SysOp 13)" <dev...@novell.com> wrote in message news:42919F47.3090403@novell.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Mair  
View profile  
 More options May 23 2005, 4:16 pm
Newsgroups: novell.devsup.clib.xplatnlm
From: David Mair <dev...@novell.com>
Date: Mon, 23 May 2005 20:16:22 GMT
Local: Mon, May 23 2005 4:16 pm
Subject: Re: Open files
Roger Thomas, Dev SysOp 22 wrote:

> My comment was more about the fact that any solution would break
> something. Novell seems to have a strong policy only not directly
> providing interfaces that can cause 'damage' to the environment. Saying
> that it looks like David has put forward a solution.

I couldn't possibly comment...and I was never here.

--
Regards,
David.

***************
David A. Mair
DevNet SysOp 54


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guenter Knauf, DevNet SysOp 32  
View profile  
 More options May 23 2005, 5:11 pm
Newsgroups: novell.devsup.clib.xplatnlm
From: "Guenter Knauf, DevNet SysOp 32" <devfor...@novell.com>
Date: Mon, 23 May 2005 21:11:42 GMT
Local: Mon, May 23 2005 5:11 pm
Subject: Re: Open files
Hi Roger,
"Roger Thomas, Dev SysOp 22" <dev...@novell.com> wrote in
news:hdpke.54$_w.38@prv-forum2.provo.novell.com:

> My comment was more about the fact that any solution would break
> something. Novell seems to have a strong policy only not directly
> providing interfaces that can cause 'damage' to the environment. Saying
> that it looks like David has put forward a solution.

hehe - then they should take my view of things where a corrupt application
writes endlessly into a file, my NLM at the server even detects that it goes
bolow min vol limit, and cant close that file without having to close whole
connection....

Guenter.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roger Thomas, Dev SysOp 22  
View profile  
 More options May 24 2005, 2:41 pm
Newsgroups: novell.devsup.clib.xplatnlm
From: "Roger Thomas, Dev SysOp 22" <dev...@novell.com>
Date: Tue, 24 May 2005 18:41:00 GMT
Subject: Re: Open files
I remember in the long and distance Novell being attacked for providing
'useful' tools such as the one you are doing. The difference between yourself
and Novell is that you will have a targeted and maybe educated market,
while Novell ends up with the problems caused by 2 many sys-admin staff
just enabling the feature without understanding it correctly. After all one
person's corrupt application is another person's auditing tool :)

Roger

"Guenter Knauf, DevNet SysOp 32" <devfor...@novell.com> wrote in message
news:iGrke.230$_w.88@prv-forum2.provo.novell.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dave_bouchard  
View profile  
 More options Jan 6 2006, 10:29 am
Newsgroups: novell.devsup.clib.xplatnlm
From: davebouchar...@hotmail.com (dave_bouchard)
Date: Fri, 06 Jan 2006 15:29:40 GMT
Local: Fri, Jan 6 2006 10:29 am
Subject: Re: Open files

Hi,

Can I have the code for this pseudo-code?? I need to develop an
application for my organisation for close a file for graduate an
application.

Thank you

Dave
davebouchar...@hotmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »