Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-30 Thread Christopher Barker
Daniel Lord wrote: > you might have > discovered time travel as a side effect. > Patent what ever you did and quickly ;-) If you note, that is a gmail address -- I guess it's Google that has mastered time travel. That's what you get for hiring all those brilliant people and giving them freedom

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-30 Thread Daniel Lord
Chris, I know you already asked this and got answers, so I did not at first understand why you asked again. Then I saw the date of the message. I think that in you search for a solution to handling antiquated resource forks, you might have discovered time travel as a side effect. Patent what

[Pythonmac-SIG] Accessing Resource forks

2007-07-30 Thread Donna and Chris Barker
HI all, Somehow over all these years, I've managed to use Python on MAcs without having it deal with resource forks and sll that -- but ironically, not that we're all OS-X all the time, I need to do ti now. What I'm trying to do is simple check for the existance of a resource fork, and if it's th

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-16 Thread Christopher Barker
Nicholas Riley wrote: > For those Windows apps (not all) that understand multiple streams, you > refer to them as "filename:streamname", I never had any idea Windows has "streams" indeed neither did anyone here. You learn something new every day. > When doing a search I discovered the "Fork Serv

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Nicholas Riley
On Fri, Jul 13, 2007 at 03:56:16PM -0700, Christopher Barker wrote: > Hamish Allan wrote: > > Let me start by saying that I've never used MS services for Macintosh, > > so this is all guesswork. But the first thing I wondered was, if files > > uploaded over AFP aren't using ._* files, what are they

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Nicholas Riley
On Fri, Jul 13, 2007 at 02:55:55PM -0700, Christopher Barker wrote: > The other obvious option is to look for the ._* files, which is where > the resource fork is stored with the SMB protocol. However, we're > concerned that that may not be reliable -- if a file were put up with > SMB, then replace

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Christopher Barker
Hamish Allan wrote: > Let me start by saying that I've never used MS services for Macintosh, > so this is all guesswork. But the first thing I wondered was, if files > uploaded over AFP aren't using ._* files, what are they using? The server is storing the resource forks somewhere, but not anywher

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Christopher Barker
Daniel Lord wrote: > RezDet command line utility perhaps? Yup, that looks very useful -- it just may be the solution. I had no idea it was there, and it took a while to find it. Maybe it's time to add /Developer/Tools/ to my PATH. thanks, -Chris (still wondering how to do it inside Python...

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Daniel Lord
On Jul 13, 2007, at 2:55 PM, Christopher Barker wrote: > > How should I be doing this -- the docs are sparse, to say the least! > > By the way, I might as well tell you the real goal, maybe one of you > will have a better idea. > RezDet command line utility perhaps? as in: [15:30:10] [EMAIL PROT

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Hamish Allan
Hi Chris, Let me start by saying that I've never used MS services for Macintosh, so this is all guesswork. But the first thing I wondered was, if files uploaded over AFP aren't using ._* files, what are they using? Presumably the Windows machine isn't actually mounting an HFS or HFS+ filesystem, s

[Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Christopher Barker
Hi all, Somehow over all these years, I've managed to use Python on Macs without having it deal with resource forks and all that -- but ironically, now that we're all OS-X all the time, I need to do it now. What I'm trying to do is simple check for the existence of a resource fork, and if it's th