Thanks, Gary, I'll double-check.

Anybody else with suggestions for "copyItemAtPath:toPath:error:" that can't 
copy items reliably to a remote volume mounted through AFP? Anyone? I can't 
believe I'm the only one on the Cocoa-Dev list that is using this method?

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                      
[email protected]

On Mar 24, 2011, at 00:01, Gary L. Wade wrote:

> Make sure you use the do-not-traverse-symbolic-links form when constructing 
> your FSRef for the FSSetCatalogInfo call. I do remember having to do that 
> call in similar circumstances, which is why I was going to try 
> FSCopyObjectAsync to see if that would solve all those issues as well as get 
> in-progress status, but I held off until that APIs memory leaks were fixed 
> (which became bad when copying a few thousand files), and it was fixed in 
> 10.6.7 (it was present in all of 10.6 up to 10.6.6).
> 
> - Gary L. Wade (Sent from my iPad)
> 
> On Mar 23, 2011, at 11:14 PM, Laurent Daudelin <[email protected]> 
> wrote:
> 
>> On Mar 23, 2011, at 19:49, Ken Thomases wrote:
>> 
>>> On Mar 23, 2011, at 7:37 PM, Laurent Daudelin wrote:
>>> 
>>>> I actually looked at FSMegaInfo but when I built it, I realized that it 
>>>> was using a lot of deprecated functions in 10.6 so I decided against using 
>>>> any part of it because of the amount of work that would be required to 
>>>> rewrite some parts of it.
>>> 
>>> First of all, deprecated doesn't mean "not available".  Second, the disk 
>>> image I have (maybe from some time ago) has a pre-built binary.
>>> 
>>> 
>>>> And yes, I do understand that different file systems will have different 
>>>> attributes. But, I'm sharing that remote volume from an Intel iMac running 
>>>> 10.5.8, connected to it through AFP. Shouldn't AFP supports basic file 
>>>> attributes?
>>> 
>>> Depends on what you mean by "basic".  I don't recall you saying which 
>>> attributes you were trying to set when you got errors.
>>> 
>>> Regards,
>>> Ken
>>> 

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to