home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!smurf.sub.org!news
- From: urlichs@smurf.sub.org (Matthias Urlichs)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: How to tell if replacing w/ SFPutFile? aaaarg!
- Date: 10 Sep 1992 15:25:56 +0200
- Organization: University of Karlsruhe, FRG
- Lines: 17
- Message-ID: <18nid4INNed@smurf.smurf.sub.org>
- References: <87333@netnews.upenn.edu>
- NNTP-Posting-Host: 127.0.0.1
-
- In comp.sys.mac.programmer, article <87333@netnews.upenn.edu>,
- peter@sysnext.library.upenn.edu (Peter C. Gorman) writes:
- >
- > It's very nice that SFPutFile asks users if they want to replace an
- > existing file, but how is my program to know if they've said 'yes'?
- > StandardPutFile, of course, sets sfReplacing, but what do you do for Sys
- > 6.x?? I've been searching New IM: Files and SpInside Mac to no avail.
- >
- Just try to PBHCreate the new file. If that returns dupFNErr, PBHDelete it
- and try again.
-
- --
- Absent: Exposed to the attacks of friends and acquaintances; defamed;
- slandered.
- --
- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\
- Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany -- +49-721-9612521 \o)/
-