Skip navigation.
 
mlRe: Exclusive File Access
FROM : Rosyna
DATE : Wed Nov 20 23:25:29 2002

Doesn't help recover the last 2 hours of work you did because some
editor (person) decided to open your project file, changed a saved
selection, and saved it back to disk.

Of course I am thinking of 100+ megabyte photoshop files being served
off a server via gigabit.

It'd be best to issue a warning *before* you start editing, not after.

Ack, at 11/20/02, Ondra Cada said:

>Nevertheless, you can easily in your app implement a variant of
>optimistic locking: when saving, check whether the contents on disk
>had changed from the time you loaded the file in or not (using eg. a
>MD5 sig, which is easily obtainable via CLI utilities -- man md5).
>If it has, issue a warning.


--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlExclusive File Access Donald Brown Nov 19, 20:38
mlRe: Exclusive File Access Ondra Cada Nov 20, 14:36
mlRe: Exclusive File Access Cameron Hayne Nov 20, 17:08
mlRe: Exclusive File Access Donald Brown Nov 20, 20:49
mlRe: Exclusive File Access Rosyna Nov 20, 22:00
mlRe: Exclusive File Access Ondra Cada Nov 20, 22:19
mlRe: Exclusive File Access Rosyna Nov 20, 23:25
mlRe: Exclusive File Access Michael Norris Nov 21, 00:21
mlRe: Exclusive File Access Ondra Cada Nov 21, 00:29
mlRe: Exclusive File Access Rosyna Nov 21, 00:31
mlRe: Exclusive File Access Ondra Cada Nov 21, 00:32
mlRe: Exclusive File Access Malte Tancred Nov 21, 12:07
mlRe: Exclusive File Access mw Nov 21, 12:28
mlRe: Exclusive File Access Malte Tancred Nov 21, 13:47
mlRe: Exclusive File Access Ondra Cada Nov 21, 14:54