Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: Simple File Copy



Title: Re: Re[2]: Simple File Copy
FSCopyFork

There is also a whole set of nice pathname/FSSpec/FSRef conversion routines. Very handy.

Michael
Orbital Launch & Lift, Inc.
http://www.orbitallaunch.com

At 11:11 AM -0500 11/21/04, Laurence Harris wrote:
On 11/21/04 3:20 AM, OL&L Lists didst favor us with:

> I would suggest using MoreFilesX to do it. It has lots of copy
> routines that save time.

I don't recall any file copying functions in MoreFilesX. To which functions
do you refer?

Larry
>
> Also you should steer away from all the "H" File Manager routines if
> possible - they are from older Mac OS'es. Try to use FSRef-based
> routines and if those don't do what you need, then try FSSpec-based
> routines. I think MoreFilesX provides a POSIX-path to FSRef routine
> somewhere.
>
> Best,
>
> Michael Amorose
> Orbital Launch & Lift, Inc.
> http://www.orbitallaunch.com
>
> At 4:10 PM +0500 11/18/04, Ivan Kharin wrote:
>>>> I'm newbie in Mac World. And need advice.
>> J> Welcome!
>>
>> Thanks :)
>>
>> J> Everyone seems to fall over this: PBHCopyFileSync only works on remote
>> J> file systems which support it - it's to allow the copy to take place on
>> J> the remote machine without the data having to go back and forth. What
>> J> you need is the FSCopyObject code from
>> J> http://developer.apple.com/samplecode/FSCopyObject/FSCopyObject.html.
>>
>> Well... It's really big pice of code :)
>> If i understand correctly, i need to HCreate/HOpen/HWrite/HClose by hand?
>>
>> Any suggestion to implement SimpleFileCopy using POSIX pathnames
>> instead FSRef's?
>>
>> --
>> Ivan Kharin

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Re[2]: Simple File Copy (From: Laurence Harris <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.