Skip navigation.
 
mlRe:validity of a path
FROM : Shripada Hebbar
DATE : Mon Jan 07 06:49:26 2008

>
>
> The path of a file is initialized in a NSString.
> I want to know if this path is valid.
> I can try to open the file and test the return value to test the
> validity of this path but is there another method to know if this
> path is valid ?
>

Use ' fileExistsAtPath'  API of  NSFileManager.  I presume that by 
'valid' you mean
that the file exists at the said path.


Regards
Shripada

Related mailsAuthorDate
mlValidity of a path Eric PETIT Jan 6, 20:55
mlRe: Validity of a path Sherm Pendley Jan 6, 21:03
mlRe: Validity of a path I. Savant Jan 6, 21:08
mlRe: Validity of a path Gregory Weston Jan 6, 23:27
mlRe:validity of a path Shripada Hebbar Jan 7, 06:49