Re: Download fileSystem data

2013-11-30 Thread Leonardo
Thank you Ken. That sounds really promising. I will tell you about the results. With the old and the new method. Thanks! Regards -- Leonardo Da: "Stephen J. Butler" Data: Sat, 30 Nov 2013 04:08:23 -0600 A: Leonardo Cc: Cocoa Development Oggetto: Re: Download fileSystem data

Re: Download fileSystem data

2013-11-30 Thread Ken Thomases
On Nov 30, 2013, at 4:08 AM, Stephen J. Butler wrote: > Have you profiled your code to see what calls exactly are taking the most > time? I have a feeling it's these: > >isFilePackageAtPath >kLSItemInfoIsInvisible >kFSNodeLockedMask >kFSCatInfoCreateDate >kFSCatInfoContentMod

Re: Download fileSystem data

2013-11-30 Thread Stephen J. Butler
Have you profiled your code to see what calls exactly are taking the most time? I have a feeling it's these: isFilePackageAtPath kLSItemInfoIsInvisible kFSNodeLockedMask kFSCatInfoCreateDate kFSCatInfoContentMod kFSCatInfoBackupDate kFSCatInfoAccessDate And parsing "ls

Download fileSystem data

2013-11-30 Thread Leonardo
Hi, actually I ask a remote machine for contentsOfDirectoryAtPath Then for each file I ask for attributesOfItemAtPath And check the NSFileType to verify whether the file is NSFileTypeDirectory NSFileTypeRegular NSFileTypeSymbolicLink Then I check isFilePackageAtPath kLSI